diff options
| author | Johann Friedrichs <johann.friedrichs@web.de> | 2022-02-01 13:16:22 +0100 |
|---|---|---|
| committer | Johann Friedrichs <johann.friedrichs@web.de> | 2022-02-01 13:16:22 +0100 |
| commit | 76d2b108bf17fde2a98e021c8bbfecb1a9a7e92e (patch) | |
| tree | a8cdbb8d2f0fb4117b0d9401c12417e8a3f06343 /epgsearch.c | |
| parent | e101df04a2e19c49293965223e6d4bbf719ed78c (diff) | |
| download | vdr-plugin-epgsearch-master.tar.gz vdr-plugin-epgsearch-master.tar.bz2 | |
Configurable "Allowed Errors" (default: 0)
Diffstat (limited to 'epgsearch.c')
| -rw-r--r-- | epgsearch.c | 3 |
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); |
