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.27.

This commit is contained in:
Rolf Ahrenberg 2012-03-25 16:42:06 +03:00
parent 79113bbe09
commit 0b790260fa
4 changed files with 10 additions and 4 deletions

View File

@ -159,6 +159,6 @@ VDR Plugin 'iptv' Revision History
- Added support for LDFLAGS. - Added support for LDFLAGS.
- Added cppcheck target into Makefile. - Added cppcheck target into Makefile.
2012-03-10: Version 0.5.1 2012-03-25: Version 0.5.1
- Updated for vdr-1.7.26. - Updated for vdr-1.7.27.

View File

@ -179,6 +179,11 @@ cString cIptvDevice::GetInformation(unsigned int Page)
return info; return info;
} }
cString cIptvDevice::DeviceName(void) const
{
return "IPTV";
}
int cIptvDevice::SignalStrength(void) const int cIptvDevice::SignalStrength(void) const
{ {
debug("cIptvDevice::SignalStrength(%d)\n", deviceIndex); debug("cIptvDevice::SignalStrength(%d)\n", deviceIndex);

View File

@ -76,6 +76,7 @@ private:
bool IsBlackListed(u_short Pid, u_char Tid, u_char Mask) const; bool IsBlackListed(u_short Pid, u_char Tid, u_char Mask) const;
// for channel info // for channel info
virtual cString DeviceName(void) const;
virtual int SignalStrength(void) const; virtual int SignalStrength(void) const;
virtual int SignalQuality(void) const; virtual int SignalQuality(void) const;

4
iptv.c
View File

@ -12,8 +12,8 @@
#include "setup.h" #include "setup.h"
#include "device.h" #include "device.h"
#if defined(APIVERSNUM) && APIVERSNUM < 10721 #if defined(APIVERSNUM) && APIVERSNUM < 10727
#error "VDR-1.7.21 API version or greater is required!" #error "VDR-1.7.27 API version or greater is required!"
#endif #endif
#ifndef GITVERSION #ifndef GITVERSION