diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2012-10-07 08:38:52 +0200 |
---|---|---|
committer | Martin Dummer <martin.dummer@gmx.net> | 2012-10-07 08:38:52 +0200 |
commit | b25ae187362b4954b312b752707cf060295cc7d1 (patch) | |
tree | 66f1f83d9aa0ff4e77159841570cae596c299312 | |
parent | 4c27f5fdd4f404822b486bccd5f2111460558451 (diff) | |
download | vdr-plugin-infosatepg-b25ae187362b4954b312b752707cf060295cc7d1.tar.gz vdr-plugin-infosatepg-b25ae187362b4954b312b752707cf060295cc7d1.tar.bz2 |
Added support for VDR >= 1.7.26
-rw-r--r-- | HISTORY | 7 | ||||
-rw-r--r-- | infosatepg.cpp | 2 | ||||
-rw-r--r-- | status.cpp | 4 | ||||
-rw-r--r-- | status.h | 4 |
4 files changed, 16 insertions, 1 deletions
@@ -1,5 +1,12 @@ VDR Plugin 'infosatepg' Revision History ---------------------------------------- + +2012-10-07: UNRELEASED + +- Added support for VDR >= 1.7.26 + provided by debian patch, thx to + Tobias Grimm <etobi@debian.org> + 2010-06-06: Version 0.0.11 - Added support for VDR >= 1.7.14 diff --git a/infosatepg.cpp b/infosatepg.cpp index 916013b..aefbbbc 100644 --- a/infosatepg.cpp +++ b/infosatepg.cpp @@ -194,7 +194,7 @@ void cPluginInfosatepg::MainThreadHook(void) if (dev) { if (!dev->ProvidesTransponder(chan)) continue; // device cannot provide transponder -> skip - if (EITScanner.UsesDevice(dev)) continue; // EITScanner is updating EPG -> skip + if (EITScanner.Active()) continue; // EITScanner is updating EPG -> skip if (dev->Receiving()) continue; // device is recording -> skip if (dev->IsPrimaryDevice()) continue; // device is primary -> skip if (cDevice::ActualDevice()->CardIndex()==i) continue; // device is live viewing -> skip @@ -21,7 +21,11 @@ cStatusInfosatepg::~cStatusInfosatepg(void) if (myFilter) delete myFilter; } +#if APIVERSNUM >= 10726 +void cStatusInfosatepg::ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView) +#else void cStatusInfosatepg::ChannelSwitch(const cDevice *Device, int ChannelNumber) +#endif { if (!ChannelNumber) return; if (!Device) return; // just to be safe @@ -20,7 +20,11 @@ private: cDevice *myFilterDevice; cGlobalInfosatepg *global; protected: +#if APIVERSNUM >= 10726 + virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView); +#else virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber); +#endif public: cStatusInfosatepg(cGlobalInfosatepg *Global); virtual ~cStatusInfosatepg(void); |