summaryrefslogtreecommitdiff
path: root/epgsearch.c
diff options
context:
space:
mode:
authorFrank Neumann <fnu@yavdr.org>2017-05-07 16:26:26 +0200
committerFrank Neumann <fnu@yavdr.org>2017-05-07 16:26:26 +0200
commitc6b50101d2e3a47b42a12351ce4e300ddc4c3094 (patch)
tree11cb108e676a2c838574290688e47ce0ea869157 /epgsearch.c
parent8905334e795a299f332395b92faaa5560b2d4c7f (diff)
downloadvdr-plugin-epgsearch-c6b50101d2e3a47b42a12351ce4e300ddc4c3094.tar.gz
vdr-plugin-epgsearch-c6b50101d2e3a47b42a12351ce4e300ddc4c3094.tar.bz2
Lock out VDR versions < 2.3.4
Diffstat (limited to 'epgsearch.c')
-rw-r--r--epgsearch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epgsearch.c b/epgsearch.c
index 7ac44da..4681fa3 100644
--- a/epgsearch.c
+++ b/epgsearch.c
@@ -69,6 +69,10 @@ The project's page is at http://winni.vdr-developer.org/epgsearch
#include "confdloader.h"
#include "pending_notifications.h"
+#if defined(APIVERSNUM) && APIVERSNUM < 20304
+#error "VDR-2.3.4 API version or greater is required!"
+#endif
+
static const char VERSION[] = "2.3.1";
static const char DESCRIPTION[] = trNOOP("search the EPG for repeats and more");