From eef65d769b0569b9a1def3da0fe1b889a714a9ee Mon Sep 17 00:00:00 2001 From: Frank Neumann Date: Mon, 8 May 2017 21:52:14 +0200 Subject: commit epgsearch-inactive-records-v1.diff (thx lhanisch@vdr-developer.org) --- epgsearchext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epgsearchext.c') diff --git a/epgsearchext.c b/epgsearchext.c index 1db0523..e4fe23b 100644 --- a/epgsearchext.c +++ b/epgsearchext.c @@ -1158,7 +1158,7 @@ void cSearchExt::CheckRepeatTimers(cSearchResults* pResults) return; LogFile.Log(2,"analysing repeats for search timer '%s'...", search); - if (action != searchTimerActionRecord) + if ((action != searchTimerActionRecord) && (action != searchTimerActionInactiveRecord)) { LogFile.Log(3,"search timer not set to 'record', so skip all"); return; @@ -1167,7 +1167,7 @@ void cSearchExt::CheckRepeatTimers(cSearchResults* pResults) cSearchResult* pResultObj = NULL; for (pResultObj = pResults->First(); pResultObj; pResultObj = pResults->Next(pResultObj)) { - if (action != searchTimerActionRecord) // only announce if there is no timer for the event + if ((action != searchTimerActionRecord) && (action != searchTimerActionInactiveRecord)) // only announce if there is no timer for the event { pResultObj->needsTimer = false; continue; -- cgit v1.2.3