diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-07-06 10:05:20 +0200 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-07-06 10:05:20 +0200 |
commit | 4ab563aad38a3278062f21bbd76375f4c92e2839 (patch) | |
tree | 8afc36d5e1c977b5fc6c0289e63487f504552e34 /epgsearchext.c | |
parent | 66dd9fb9e25bdad629416584e2f4a1251bd980d0 (diff) | |
download | vdr-plugin-epgsearch-4ab563aad38a3278062f21bbd76375f4c92e2839.tar.gz vdr-plugin-epgsearch-4ab563aad38a3278062f21bbd76375f4c92e2839.tar.bz2 |
ignore running events when searching for repeats for searchtimers with 'avoid repeats'
Diffstat (limited to 'epgsearchext.c')
-rw-r--r-- | epgsearchext.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epgsearchext.c b/epgsearchext.c index f6b3452..7efd744 100644 --- a/epgsearchext.c +++ b/epgsearchext.c @@ -872,6 +872,9 @@ cEvent * cSearchExt::GetEventBySearchExt(const cSchedule *schedules, const cEven free(szTest); szTest = NULL; } + + if (skipRunningEvents && tNow > p->StartTime()) + continue; // ignore events without title if (!p->Title() || !*p->Title()) @@ -1071,6 +1074,7 @@ cSearchResults* cSearchExt::Run(int PayTVMode, bool inspectTimerMargin, int eval CheckRepeatTimers(pSearchResults); } + skipRunningEvents = false; return pSearchResults; } |