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 /device.c | |
| 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 'device.c')
| -rw-r--r-- | device.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1051,7 +1051,9 @@ bool cPvrDevice::OpenDvr(void) { } if (PvrSetup.UseExternChannelSwitchScript) { - cString cmd = cString::sprintf("%s %d %d %d", *externChannelSwitchScript, currentChannel.Sid(), currentChannel.Number(), number); + cString cmd = cString::sprintf("%s %d %d %d %d", + *externChannelSwitchScript, currentChannel.Sid(), currentChannel.Number(), + number, currentChannel.Frequency()); log(pvrDEBUG1, "OpenDvr: calling %s", *cmd); if (system(*cmd) < 0) { log(pvrERROR, "OpenDvr: executing %s failed", *cmd); |
