1
0
mirror of https://github.com/rofafor/vdr-plugin-iptv.git synced 2023-10-10 13:37:03 +02:00

Updated for vdr-1.7.19.

This commit is contained in:
Rolf Ahrenberg 2011-06-19 22:07:01 +03:00
parent 21719d3397
commit 1898defeb6
3 changed files with 18 additions and 2 deletions

View File

@ -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);

View File

@ -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;

4
iptv.c
View File

@ -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";