Introduction.
The purpose of those scripts is to generate a file oscam.srvid based on your lamedb file and on a favorite list.
This is linux standard shell script that should run on any Enigma2 system.
It should be run on a STB which has an up-to-date lamedb and you also need to create a favorite TV list.
How to install.
Simply un pack the gensrvid.tgz file on your favorite location, be carefull that some temporary files will be created there.
Example:
In telnet:
FTP the file gensrid.tgz to the folder /media/hdd/gensrvid
In telnet:
As result you will get 3 files:
1lamedb.sh
2bouquet.sh
readme.txt
How to use:
Script: 1lamedb.sh
First you need to run the script: ./1lamedb.sh this will generate a file called index.txt
To run the script in telnet:
This script should only be run again when you lamedb is changed (after a satellite scan for example).
Script: 2bouquet.sh
Before running this script you need first to edit it and change the following variables:
# Variables definition
# Specify the bouquet filename to use has input
# Normally located in /etc/enigma2/
#
BOUQUET="/etc/enigma2/userbouquet.csat_hd.tv"
#
# RESULTFILE : This will be the name of the script generated oscam.srvid file
# PREFIXCAID : Mention the different possible CAID on this bouquet
# BOUQUETNAME: Provide the bouquet name and satellites positions
#
RESULTFILE="oscam.srvid.generated"
PREFIXCAID="0100,0500"
BOUQUETNAME="CanalSat 19.2E"
BOUQUET is the file containint your favorite list for the provider that you want to generate the oscam.srvid file.
RESULTFILE is the name of the resulting file this will be your future oscam.srvid file
PREFIXCAID you need to provide the different possible CAID on this provider (you need to retrieve this yourself!)
BOUQUETNAME is the name of the provider that you want to see in your oscam.srvid file
Once you have set your own values you can start this script. ./2bouquet.sh and enjoy the result.