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

SKY2007

Member
Joined
Jul 8, 2007
Messages
10
Reaction score
0
Points
0
Age
43
My Satellite Setup
dm500s
My Location
denmark
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
Joined
Mar 8, 2005
Messages
4,712
Reaction score
20
Points
38
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
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

Regular Member
Joined
Aug 24, 2003
Messages
2,219
Reaction score
3
Points
38
Age
64
My Satellite Setup
Azbox premium HD+,Dusty Dreambox 7000s,& Sky HD.
My Location
Dublin....Ireland
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
Joined
Mar 16, 2005
Messages
557
Reaction score
0
Points
0
Age
65
My Satellite Setup
DM8000HD+DM7000S with PLi image, CCcam, movable dish 0.85 m, very happy indeed
My Location
Belgium
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
Joined
May 14, 2007
Messages
45
Reaction score
0
Points
0
Age
64
My Satellite Setup
Technomate 5200USB Echolink, 80cm dish and a motor
My Location
Blue Planet
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
Joined
Mar 8, 2005
Messages
4,712
Reaction score
20
Points
38
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
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.
 

SKY2007

Member
Joined
Jul 8, 2007
Messages
10
Reaction score
0
Points
0
Age
43
My Satellite Setup
dm500s
My Location
denmark
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
Joined
Mar 8, 2005
Messages
4,712
Reaction score
20
Points
38
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
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