diff --git a/device.c b/device.c index 3a05c77..c9c8ab0 100644 --- a/device.c +++ b/device.c @@ -179,6 +179,18 @@ cString cIptvDevice::GetInformation(unsigned int Page) return info; } +int cIptvDevice::SignalStrength(void) const +{ + debug("cIptvDevice::SignalStrength(%d)\n", deviceIndex); + return (100); +} + +int cIptvDevice::SignalQuality(void) const +{ + debug("cIptvDevice::SignalQuality(%d)\n", deviceIndex); + return (100); +} + bool cIptvDevice::ProvidesSource(int Source) const { debug("cIptvDevice::ProvidesSource(%d)\n", deviceIndex); diff --git a/device.h b/device.h index 8a8ec9f..5bc9b97 100644 --- a/device.h +++ b/device.h @@ -75,6 +75,10 @@ private: bool DeleteFilter(unsigned int Index); bool IsBlackListed(u_short Pid, u_char Tid, u_char Mask) const; + // for channel info + virtual int SignalStrength(void) const; + virtual int SignalQuality(void) const; + // for channel selection public: virtual bool ProvidesSource(int Source) const; diff --git a/iptv.c b/iptv.c index 89c43aa..ec9c0d5 100644 --- a/iptv.c +++ b/iptv.c @@ -12,8 +12,8 @@ #include "setup.h" #include "device.h" -#if defined(APIVERSNUM) && APIVERSNUM < 10715 -#error "VDR-1.7.15 API version or greater is required!" +#if defined(APIVERSNUM) && APIVERSNUM < 10719 +#error "VDR-1.7.19 API version or greater is required!" #endif const char VERSION[] = "0.4.3";