summaryrefslogtreecommitdiff
path: root/epgsearch.c
diff options
context:
space:
mode:
authorJohann Friedrichs <johann.friedrichs@web.de>2022-02-01 13:16:22 +0100
committerJohann Friedrichs <johann.friedrichs@web.de>2022-02-01 13:16:22 +0100
commit76d2b108bf17fde2a98e021c8bbfecb1a9a7e92e (patch)
treea8cdbb8d2f0fb4117b0d9401c12417e8a3f06343 /epgsearch.c
parente101df04a2e19c49293965223e6d4bbf719ed78c (diff)
downloadvdr-plugin-epgsearch-master.tar.gz
vdr-plugin-epgsearch-master.tar.bz2
Recordings with errors can be marked as incompleteHEADmaster
Configurable "Allowed Errors" (default: 0)
Diffstat (limited to 'epgsearch.c')
-rw-r--r--epgsearch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epgsearch.c b/epgsearch.c
index e80dfd6..cb3cf45 100644
--- a/epgsearch.c
+++ b/epgsearch.c
@@ -668,6 +668,9 @@ bool cPluginEpgsearch::SetupParse(const char *Name, const char *Value)
if (!strcasecmp(Name, "DefLifetime")) EPGSearchConfig.DefLifetime = atoi(Value);
if (!strcasecmp(Name, "DefMarginStart")) EPGSearchConfig.DefMarginStart = atoi(Value);
if (!strcasecmp(Name, "DefMarginStop")) EPGSearchConfig.DefMarginStop = atoi(Value);
+#if defined(APIVERSNUM) && APIVERSNUM > 20503
+ if (!strcasecmp(Name, "AllowedErrors")) EPGSearchConfig.AllowedErrors = atoi(Value);
+#endif
if (!strcasecmp(Name, "IgnorePayTV")) EPGSearchConfig.ignorePayTV = atoi(Value);