summaryrefslogtreecommitdiff
path: root/epgsearchext.c
diff options
context:
space:
mode:
Diffstat (limited to 'epgsearchext.c')
-rw-r--r--epgsearchext.c4
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;
}