diff options
| author | Lars Hanisch <dvb@flensrocker.de> | 2010-03-14 16:43:41 +0100 |
|---|---|---|
| committer | Lars Hanisch <dvb@flensrocker.de> | 2010-03-14 16:43:41 +0100 |
| commit | da4e4031e6af413d2d4bd400c8a66a5bdc36ea02 (patch) | |
| tree | 1911837270e210c2d9601a6d294608e97034ba01 /example | |
| parent | 73d3a8400706a7703153e76463a905c8364a1cfa (diff) | |
| download | vdr-plugin-pvrinput-da4e4031e6af413d2d4bd400c8a66a5bdc36ea02.tar.gz vdr-plugin-pvrinput-da4e4031e6af413d2d4bd400c8a66a5bdc36ea02.tar.bz2 | |
add frequency as parameter to externchannelswitch.sh
This is possibly needed, because the SID now have a more important meaning.
It is updated from the vdr in relation to the PAT/PMT so it's not a good
idea to store important values there.
Use the frequency.
Diffstat (limited to 'example')
| -rwxr-xr-x | example/externchannelswitch.sh.example | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/externchannelswitch.sh.example b/example/externchannelswitch.sh.example index 76a57c7..5fe9117 100755 --- a/example/externchannelswitch.sh.example +++ b/example/externchannelswitch.sh.example @@ -8,6 +8,7 @@ DEBUG="true" declare SID="$1" declare VDRCHANNEL="$2" declare VIDEONUMBER="$3" +declare FREQUENCY="$4" declare EXTERNCHANNEL let "EXTERNCHANNEL = SID % 1000" #last three digits from SID without leading 0 @@ -17,5 +18,6 @@ if test "$DEBUG" == "true"; then logger -s "DEBUG pvrinput externchannelswitch: Variable SID has value \"$SID\"" logger -s "DEBUG pvrinput externchannelswitch: Variable VDRCHANNEL has value \"$VDRCHANNEL\"" logger -s "DEBUG pvrinput externchannelswitch: Variable VIDEONUMBER has value \"$VIDEONUMBER\"" + logger -s "DEBUG pvrinput externchannelswitch: Variable FREQUENCY has value \"$FREQUENCY\"" logger -s "DEBUG pvrinput externchannelswitch: Variable EXTERNCHANNEL has value \"$EXTERNCHANNEL\"" fi |
