summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2009-01-13 18:45:17 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2009-01-13 18:45:17 +0100
commit62cc40f937c3eb2d7cd14f57a25b1ce407f046bf (patch)
tree7e367172b4c11ee77246967b28d38527ff9bd058
parent0ca395c5d540924d780bac8cd6bd7453ed335439 (diff)
downloadvdr-plugin-epgsearch-62cc40f937c3eb2d7cd14f57a25b1ce407f046bf.tar.gz
vdr-plugin-epgsearch-62cc40f937c3eb2d7cd14f57a25b1ce407f046bf.tar.bz2
don't try to remove recording timers, thanks to Rolf Ahrenberg for providing a patch
-rw-r--r--searchtimer_thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchtimer_thread.c b/searchtimer_thread.c
index e074e97..94b6c7b 100644
--- a/searchtimer_thread.c
+++ b/searchtimer_thread.c
@@ -476,6 +476,7 @@ void cSearchTimerThread::Action(void)
if (TimerWasModified(t)) continue;
if (!t->Event()) continue; // if there is no event, we keep the timer, since EPG could have been cleared
if (time(NULL) > t->StopTime()) continue; // if this timer has (just) finished, let VDR do the cleanup
+ if (t->Recording()) continue; // do not remove recording timers
LogFile.Log(1,"delete timer for '%s' (%s, channel %s)", t->File(), DAYDATETIME(t->StartTime()), CHANNELNAME(t->Channel()));
RemoveTimer(t, t->Event());
}