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:
parent
52ae2bdf63
commit
c2f88fbbb3
2
HISTORY
2
HISTORY
@ -144,7 +144,7 @@ VDR Plugin 'iptv' Revision History
|
||||
|
||||
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
|
||||
experimental Tid/Nid support into it.
|
||||
- Added optional source address validation for UDP protocol.
|
||||
|
5
device.c
5
device.c
@ -216,6 +216,11 @@ bool cIptvDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *N
|
||||
return result;
|
||||
}
|
||||
|
||||
bool cIptvDevice::ProvidesEIT(void) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
int cIptvDevice::NumProvidedSystems(void) const
|
||||
{
|
||||
return 1;
|
||||
|
1
device.h
1
device.h
@ -84,6 +84,7 @@ public:
|
||||
virtual bool ProvidesSource(int Source) const;
|
||||
virtual bool ProvidesTransponder(const cChannel *Channel) const;
|
||||
virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL) const;
|
||||
virtual bool ProvidesEIT(void) const;
|
||||
virtual int NumProvidedSystems(void) const;
|
||||
protected:
|
||||
virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView);
|
||||
|
4
iptv.c
4
iptv.c
@ -12,8 +12,8 @@
|
||||
#include "setup.h"
|
||||
#include "device.h"
|
||||
|
||||
#if defined(APIVERSNUM) && APIVERSNUM < 10719
|
||||
#error "VDR-1.7.19 API version or greater is required!"
|
||||
#if defined(APIVERSNUM) && APIVERSNUM < 10721
|
||||
#error "VDR-1.7.21 API version or greater is required!"
|
||||
#endif
|
||||
|
||||
const char VERSION[] = "0.4.3";
|
||||
|
@ -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()) {
|
Loading…
Reference in New Issue
Block a user