possible to have two CCcam's (to load on dm500)

Messages
10
Likes
0
My Satellite Setup
dm500s
My Location
denmark
#1
ok basically on my box lets say i have a CCcam.cfg in my var/etc and then i have another CCcam.cfg...

so i have two CCcam.cfg's

now in dreambox (500s) when i press blue button i can choose the CCcam ofcourse, but is it possible to have the two CCcam.cfg files in such a way so i can choose between them when i press the blue button?

Any help will be much appreciated
 

mhku

Super Moderator
Staff member
Messages
4,712
Likes
20
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
#2
Might be tough.

The other option would be to write a plugin that renamed the two .cfg files as required so that there is only one cccam.cfg and a "backup".
 

john_graydon

Specialist Contributor
Messages
2,219
Likes
3
My Satellite Setup
Azbox premium HD+,Dusty Dreambox 7000s,& Sky HD.
My Location
Dublin....Ireland
#3
Why would you want 2 cams the same, I would just delete 1. You can only run 1 at at time anyway. If you dont know which cfg file to delete just delete the whole cam and reinstall it again via the blue button.
 

JTA

Regular Member
Messages
557
Likes
0
My Satellite Setup
DM8000HD+DM7000S with PLi image, CCcam, movable dish 0.85 m, very happy indeed
My Location
Belgium
#4
I guess he has 1 config file with sharing, and one without sharing.
As mhku said, I'd write 2 scripts which rename these config files so you can swap thme whenever needed, and declare these as plugins so you can run them from the yellow button.
how to do this depends on the image you're using. I've done something similar with PLi, don't know about other images.
 

blueboyrio

Regular Member
Messages
45
Likes
0
My Satellite Setup
Technomate 5200USB Echolink, 80cm dish and a motor
My Location
Blue Planet
#5
I agree with John, I had camd3 and mgcamd. I deleted camd3 because mgcamd is doing a very good work! :)
 

mhku

Super Moderator
Staff member
Messages
4,712
Likes
20
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
#6
Reading between the lines I think the OP only wants one install of CCcam but needs a way to use different cccam.cfg as required.
 
Messages
10
Likes
0
My Satellite Setup
dm500s
My Location
denmark
#7
Hi i am using the latest gemini image on my dm500s.

so can you tell me how to make that script? i just want a solution. I did read all the replies, but i havent found the concrete soultion yet.
 

mhku

Super Moderator
Staff member
Messages
4,712
Likes
20
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
#8
To misquote "necessity is the mother of invention".

I don't think anyone will write the script for you, but you can take the satan_updater script as a basis, plus a few online Linux tutorials and write your own.

I suggest downloading it and try to write your own script/plugin that does this:

1. Copy file1 to file3. If file3 exists then delete it and then copy file1 to file3.
2. Copy file2 to file3. If file3 exists then delete it and then copy file2 to file3.

where

file1 = CCcam.cfg version1
file2 = CCcam.cfg version2

file3 will be the only file that has the filename CCcam.cfg

Using copy rather than rename will keep the original file.

Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
 
Top