diff options
Diffstat (limited to 'PLUGINS/src/sky')
-rw-r--r-- | PLUGINS/src/sky/HISTORY | 9 | ||||
-rw-r--r-- | PLUGINS/src/sky/sky.c | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/PLUGINS/src/sky/HISTORY b/PLUGINS/src/sky/HISTORY index 2d15da7..2fed4c3 100644 --- a/PLUGINS/src/sky/HISTORY +++ b/PLUGINS/src/sky/HISTORY @@ -28,3 +28,12 @@ VDR Plugin 'sky' Revision History 2004-10-16: Version 0.3.1 - Improved buffer handling. + +2004-12-12: Version 0.3.2 + +- Changed Apid access in cChannel. + +2004-12-19: Version 0.3.3 + +- Made several functions threadsafe. +- Removed delay_ms(), using cCondWait::SleepMs() instead. diff --git a/PLUGINS/src/sky/sky.c b/PLUGINS/src/sky/sky.c index eea697e..bf4fa42 100644 --- a/PLUGINS/src/sky/sky.c +++ b/PLUGINS/src/sky/sky.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: sky.c 1.7 2004/10/16 09:10:06 kls Exp $ + * $Id: sky.c 1.11 2004/12/26 12:45:22 kls Exp $ */ #include <sys/socket.h> @@ -14,7 +14,7 @@ #include <vdr/plugin.h> #include <vdr/sources.h> -static const char *VERSION = "0.3.1"; +static const char *VERSION = "0.3.3"; static const char *DESCRIPTION = "Sky Digibox interface"; // --- cDigiboxDevice -------------------------------------------------------- @@ -113,7 +113,7 @@ void cDigiboxDevice::LircSend(const char *s) dsyslog(buf);//XXX if (write(fd_lirc, buf, strlen(buf)) < 0) LOG_ERROR;//XXX _STR - delay_ms(200); + cCondWait::SleepMs(200); } void cDigiboxDevice::LircSend(int n) @@ -213,7 +213,7 @@ bool cDigiboxDevice::SetChannelDevice(const cChannel *Channel, bool LiveView) cSkyChannel *SkyChannel = SkyChannels.GetSkyChannel(Channel); if (SkyChannel) { digiboxChannelNumber = SkyChannel->digiboxChannelNumber; - apid = Channel->Apid1(); + apid = Channel->Apid(0); vpid = Channel->Vpid(); //XXX only when recording??? -> faster channel switching! LircSend("SKY"); // makes sure the Digibox is "on" |