blob: 320e6c43114da0c1e0e25a5d18fa8523c2747a77 (
plain)
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
|
Index: vdr-plugin-vompserver-0.5.1+git20231106-4-269b046/vompclientrrproc.c
===================================================================
--- vdr-plugin-vompserver-0.5.1+git20231106-4-269b046.orig/vompclientrrproc.c 2023-11-06 16:51:03.000000000 +0100
+++ vdr-plugin-vompserver-0.5.1+git20231106-4-269b046/vompclientrrproc.c 2024-09-10 09:15:22.464388346 +0200
@@ -2497,7 +2497,11 @@
{
const cSchedule *Schedule = tSchedules->GetSchedule(channel->GetChannelID());
if (Schedule) {
+#if APIVERSNUM > 20501
+ event = Schedule->GetEventById(eventid);
+#else
event = Schedule->GetEvent(eventid);
+#endif
}
}
Index: vdr-plugin-vompserver-0.5.1+git20231106-4-269b046/picturereader.c
===================================================================
--- vdr-plugin-vompserver-0.5.1+git20231106-4-269b046.orig/picturereader.c 2023-11-06 16:51:03.000000000 +0100
+++ vdr-plugin-vompserver-0.5.1+git20231106-4-269b046/picturereader.c 2024-09-10 09:17:06.612872707 +0200
@@ -238,7 +238,11 @@
Schedule = tSchedules->GetSchedule(channel);
}
const cEvent *event = NULL;
+#if APIVERSNUM > 20501
+ if (Schedule) event=Schedule->GetEventById(req.primary_id);
+#else
if (Schedule) event=Schedule->GetEvent(req.primary_id);
+#endif
ScraperGetPosterThumb getter;
getter.event = event;
getter.recording = NULL;
|