summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-12-21 07:15:57 (GMT)
committerhorchi <vdr@jwendel.de>2017-12-21 07:15:57 (GMT)
commitb6754f15ea610ae05f2b80c7d27fe64e9015e5d9 (patch)
tree25dd7b277a9a9262dd9238d87ea66c0e9edc7ba2
parent403f126e5da6d1811d981d5773d0a0772b99acc1 (diff)
downloadvdr-plugin-epg2vdr-b6754f15ea610ae05f2b80c7d27fe64e9015e5d9.tar.gz
vdr-plugin-epg2vdr-b6754f15ea610ae05f2b80c7d27fe64e9015e5d9.tar.bz2
2017-12-21 version 1.1.75 (horchi)\n - change: backward compatibility to vdr 2.2.0\n\n1.1.75
-rw-r--r--HISTORY.h7
-rw-r--r--epg2vdr.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/HISTORY.h b/HISTORY.h
index 451689c..2c90dd0 100644
--- a/HISTORY.h
+++ b/HISTORY.h
@@ -5,8 +5,8 @@
*
*/
-#define _VERSION "1.1.74"
-#define VERSION_DATE "19.12.2017"
+#define _VERSION "1.1.75"
+#define VERSION_DATE "21.12.2017"
#define DB_API 4
@@ -19,6 +19,9 @@
/*
* ------------------------------------
+2017-12-21 version 1.1.75 (horchi)
+ - change: backward compatibility to vdr 2.2.0
+
2017-12-19 version 1.1.74 (horchi)
- added: recording detail query to service interface
diff --git a/epg2vdr.c b/epg2vdr.c
index 46f5658..ffa2656 100644
--- a/epg2vdr.c
+++ b/epg2vdr.c
@@ -886,10 +886,14 @@ bool cPluginEPG2VDR::Service(const char* id, void* data)
}
else if (strcmp(id, EPG2VDR_REC_DETAIL_SERVICE) == 0)
{
+#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
cEpgRecording_Details_Service_V1* rd = (cEpgRecording_Details_Service_V1*)data;
if (rd)
return recordingDetails(rd);
+#else
+ return false;
+#endif
}
exitDb();