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:
parent
21719d3397
commit
1898defeb6
12
device.c
12
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);
|
||||
|
4
device.h
4
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;
|
||||
|
4
iptv.c
4
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";
|
||||
|
Loading…
Reference in New Issue
Block a user