Having 2 incubus.conf files

markybrook

Registered
Messages
136
I have a dgs image with 9000HD box.
Does anyone know a way of having a menu that uses 2 different incubuscam.conf files that can be used for different service providers.
 

arken

Registered
Messages
293
You dont need 2 configuration files, you can specify witch server to use for every service provider in incubus.conf. Check same file for examples.
 

DKaftermath

Registered
Messages
320
I have a dgs image with 9000HD box.
Does anyone know a way of having a menu that uses 2 different incubuscam.conf files that can be used for different service providers.

you cant have 2 incubuscamd.conf files as the 2nd one will over write the first one.

only way i can think of is to rename one incubuscamd.temp and when you want to use it rename it back, but then rename the original one.

But its no point as one config file works same on most incubuscamd`s

you could add the providers you want to your incubuscamd.prio
 

markybrook

Registered
Messages
136
You dont need 2 configuration files, you can specify witch server to use for every service provider in incubus.conf. Check same file for examples.

Thanks for ur answer. But I couldn't see through the example file how you could define 2 different service providers for cccam for example.
You can define 1 for Newcam and 1 for cccam. I can see that.
 

markybrook

Registered
Messages
136
OK let me give the scenario...
There are 2 cccam servers I wish to use. 1 has a great performance on SlyUK the other a terrible performance on SlyUK. Can anyone see how I can exclude server2 clines from being decoded when I watch SlyUK using Incubus? If you can do this can someone give me a possible conf or prio file that would achieve this. Or do I need to use a plugin (as I was intimating firstly) that uses two possible conf files and can switch between the two.
 
Last edited:

arken

Registered
Messages
293
Apparently in the latest versions incubus devs have removed this feature from conf file. (sry my mistake) Also incubus does not support startup switches, so u cant specify conf file at cam startup. So there is only one option you have:
1. Create 2 different files incubuscamd.conf.1 and incubuscamd.comf.2
2. Copy your incubuscamd startup script (probably in /var/script) - e.g. cp incubusstart.sh incubusstart2.sh
3. Edit the 2 startup scipts adding in the beginning cp incubuscamd.conf.1 /var/keys/incubuscamd.conf (similar for the other)
4. Now you can use 2 different conf files
 

deckymckeown

Registered
Messages
68
I have also the same problem as markybrook where I want to use 2 different servers, 1 for s€y UK which has great service and the other for s€y italia which is not so good.

So my way round it was to install the latest vodka image. Then from the on screen panel at the top where it says index if u move left and right with the arrow button on remote this will move between ur servers, providing u have more than 1 server entered in config file.
 

markybrook

Registered
Messages
136
Ok can anyone suggest a script file where you have 2 conf files
incubusconf1.conf and incubusconf2.conf
and when you press the blue button the script inserts a different incubusCamd.conf file into var/keys. This should ideally toggle so that represses of the blue button inserts the other conf file. This would be sufficient since everyone can then just restart the cam (in my case using the yellow button).
Can anyone help with this script???
It would be great if anyone could:thum:
 
Last edited:

markybrook

Registered
Messages
136
Here's my script that may have bugs in.
Any takers???
########################################################
This assumes incubusconf1.conf and incubuscon2.conf are the 2 possible incubusCamd.conf files. They reside in var/bin.

incubusCamd.conf is in /var/keys

Incubus must be restarted after this script
#######################################################

#!/bin/sh
# Sly Incubus between /var/bin/incubusconf1.conf
# /var/bin/incubusconf2.conf
# created by Markybrook 2010

INCTXT1="Incubus Sly UK Configuration"

if [ -e /tmp/log.txt ]
then
#non sky bit
rm -rf /tmp/log.txt
INCTXT1="Incubus Non Sly UK Configuration"
echo "$INCTXT1"
echo -e "web_show_mess 1 \0042$INCTXT1\0042" >/dev/commander
cp /var/bin/incubusconf2.conf /var/keys/incubusCamd.conf

else
#sky bit
cp /var/bin/incubusconf1.conf /var/keys/incubusCamd.conf
echo "$INCTXT1"
echo -e "web_show_mess 1 \0042$INCTXT1\0042" >/dev/commander
echo 'Sly file is created' > /tmp/log.txt
fi
 
Last edited:

deckymckeown

Registered
Messages
68
OK let me give the scenario...
There are 2 cccam servers I wish to use. 1 has a great performance on SlyUK the other a terrible performance on SlyUK. Can anyone see how I can exclude server2 clines from being decoded when I watch SlyUK using Incubus? If you can do this can someone give me a possible conf or prio file that would achieve this. Or do I need to use a plugin (as I was intimating firstly) that uses two possible conf files and can switch between the two.

Installed latest sif team image, when i move to 13e for Sly It. and restart cam it moves to the next server. Then when i want to watch sly uk i stop cam, move to 28.2e and restart cam, it connects to the 1st server i have on the list which is the server i want to use for sly uk

If you check the ECM details by pressing 3 on the panel, it will show which server you are currently conected to, therefore you can see if you are on the right server for each.

Simple solution but working perfectly for me
 

markybrook

Registered
Messages
136
Installed latest sif team image, when i move to 13e for Sly It. and restart cam it moves to the next server. Then when i want to watch sly uk i stop cam, move to 28.2e and restart cam, it connects to the 1st server i have on the list which is the server i want to use for sly uk

If you check the ECM details by pressing 3 on the panel, it will show which server you are currently conected to, therefore you can see if you are on the right server for each.

Simple solution but working perfectly for me

Yeah I know you can leave incubus to go between the servers from top to bottom but I don't want it to ever try to connect to servers 3 and 4 in the servers list if i am on SlyuK. I want to actually exclude them from the servers list as otherwise it will eventually try to connect via the poor servers and that I know produces gliches. Whereas if I can exclude servers 3 and 4 from the conf file in the first place I never get the gliches. Comprenez?
 

deckymckeown

Registered
Messages
68
Yeah I know you can leave incubus to go between the servers from top to bottom but I don't want it to ever try to connect to servers 3 and 4 in the servers list if i am on SlyuK. I want to actually exclude them from the servers list as otherwise it will eventually try to connect via the poor servers and that I know produces gliches. Whereas if I can exclude servers 3 and 4 from the conf file in the first place I never get the gliches. Comprenez?

Looks like your gonna have to go the slightly more complicated route after all then LOL
 
Top