Package: vdr-plugin-infosatepg / 0.0.11-10

vdr-1.7.26.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Index: vdr-plugin-infosatepg/infosatepg.cpp
===================================================================
--- vdr-plugin-infosatepg.orig/infosatepg.cpp	2012-04-01 11:35:43.000000000 +0200
+++ vdr-plugin-infosatepg/infosatepg.cpp	2012-04-01 11:42:22.000000000 +0200
@@ -190,7 +190,7 @@
         if (dev)
         {
             if (!dev->ProvidesTransponder(chan)) continue; // device cannot provide transponder -> skip
-            if (EITScanner.UsesDevice(dev)) continue; // EITScanner is updating EPG -> skip
+            if (EITScanner.Active()) continue; // EITScanner is updating EPG -> skip
             if (dev->Receiving()) continue; // device is recording -> skip
             if (dev->IsPrimaryDevice()) continue; // device is primary -> skip
             if (cDevice::ActualDevice()->CardIndex()==i) continue; // device is live viewing -> skip
Index: vdr-plugin-infosatepg/status.cpp
===================================================================
--- vdr-plugin-infosatepg.orig/status.cpp	2012-04-01 11:35:43.000000000 +0200
+++ vdr-plugin-infosatepg/status.cpp	2012-04-01 11:42:22.000000000 +0200
@@ -21,7 +21,11 @@
     if (myFilter) delete myFilter;
 }
 
+#if APIVERSNUM >= 10726
+void cStatusInfosatepg::ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView)
+#else
 void cStatusInfosatepg::ChannelSwitch(const cDevice *Device, int ChannelNumber)
+#endif
 {
     if (!ChannelNumber) return;
     if (!Device) return; // just to be safe
Index: vdr-plugin-infosatepg/status.h
===================================================================
--- vdr-plugin-infosatepg.orig/status.h	2012-04-01 11:35:43.000000000 +0200
+++ vdr-plugin-infosatepg/status.h	2012-04-01 11:42:29.000000000 +0200
@@ -20,7 +20,11 @@
   cDevice *myFilterDevice;
   cGlobalInfosatepg *global;
 protected:
+#if APIVERSNUM >= 10726
+  virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView);
+#else
   virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber);
+#endif
 public:
   cStatusInfosatepg(cGlobalInfosatepg *Global);
   virtual ~cStatusInfosatepg(void);