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

This commit is contained in:
Rolf Ahrenberg 2011-09-04 17:58:18 +03:00
parent 52ae2bdf63
commit c2f88fbbb3
5 changed files with 9 additions and 15 deletions

View File

@ -144,7 +144,7 @@ VDR Plugin 'iptv' Revision History
2010-xx-xx: Version 0.4.3 2010-xx-xx: Version 0.4.3
- Updated for vdr-1.7.16. - Updated for vdr-1.7.21.
- Renamed Sid scanner to section id scanner and added - Renamed Sid scanner to section id scanner and added
experimental Tid/Nid support into it. experimental Tid/Nid support into it.
- Added optional source address validation for UDP protocol. - Added optional source address validation for UDP protocol.

View File

@ -216,6 +216,11 @@ bool cIptvDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *N
return result; return result;
} }
bool cIptvDevice::ProvidesEIT(void) const
{
return false;
}
int cIptvDevice::NumProvidedSystems(void) const int cIptvDevice::NumProvidedSystems(void) const
{ {
return 1; return 1;

View File

@ -84,6 +84,7 @@ public:
virtual bool ProvidesSource(int Source) const; virtual bool ProvidesSource(int Source) const;
virtual bool ProvidesTransponder(const cChannel *Channel) const; virtual bool ProvidesTransponder(const cChannel *Channel) const;
virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL) const; virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL) const;
virtual bool ProvidesEIT(void) const;
virtual int NumProvidedSystems(void) const; virtual int NumProvidedSystems(void) const;
protected: protected:
virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView); virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView);

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 < 10719 #if defined(APIVERSNUM) && APIVERSNUM < 10721
#error "VDR-1.7.19 API version or greater is required!" #error "VDR-1.7.21 API version or greater is required!"
#endif #endif
const char VERSION[] = "0.4.3"; const char VERSION[] = "0.4.3";

View File

@ -1,12 +0,0 @@
diff -Nru vdr-1.7.20-vanilla/eitscan.c vdr-1.7.20-disable_eitscan/eitscan.c
--- vdr-1.7.20-vanilla/eitscan.c 2011-08-17 08:42:25.000000000 +0300
+++ vdr-1.7.20-disable_eitscan/eitscan.c 2011-08-20 20:23:59.000000000 +0300
@@ -146,7 +146,7 @@
if (Device) {
for (cScanData *ScanData = scanList->First(); ScanData; ScanData = scanList->Next(ScanData)) {
const cChannel *Channel = ScanData->GetChannel();
- if (Channel) {
+ if (Channel && !cSource::IsType(Channel->Source(), 'I')) {
if (!Channel->Ca() || Channel->Ca() == Device->DeviceNumber() + 1 || Channel->Ca() >= CA_ENCRYPTED_MIN) {
if (Device->ProvidesTransponder(Channel)) {
if (!Device->Receiving()) {