summaryrefslogtreecommitdiff
path: root/searchtimer_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'searchtimer_thread.c')
-rw-r--r--searchtimer_thread.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/searchtimer_thread.c b/searchtimer_thread.c
index 25cf559..155316a 100644
--- a/searchtimer_thread.c
+++ b/searchtimer_thread.c
@@ -138,7 +138,7 @@ cTimer *cSearchTimerThread::GetTimer(cSearchExt *searchExt, const cEvent *pEvent
continue;
// ignore manual timers if this search could modify them
- if (searchExt->action == searchTimerActionRecord && TriggeredFromSearchTimerID(ti) == -1) // manual timer
+ if ((searchExt->action == searchTimerActionRecord || searchExt->action == searchTimerActionInactiveRecord) && TriggeredFromSearchTimerID(ti) == -1) // manual timer
continue;
if (UseVPS && ti->HasFlags(tfVps))
@@ -677,6 +677,9 @@ bool cSearchTimerThread::AddModTimer(cTimer* Timer, int index, cSearchExt* searc
else
Flags = 1; // don't use VPS, if not set in this search
+ if (searchExt->action == searchTimerActionInactiveRecord)
+ Flags &= ~tfActive;
+
// already done the same timer?
if (!EPGSearchConfig.TimerProgRepeat && index == 0 && TimersDone.InList(start, stop, pEvent, -1))
{