summaryrefslogtreecommitdiff
path: root/searchtimer_thread.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2009-02-15 20:24:29 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2009-02-15 20:24:29 +0100
commitbceeecfe25a52c3c66a6fc45b255ee80e664a508 (patch)
treeb4476b33ece7b91d6d4744c038f4aa36f791bfb8 /searchtimer_thread.c
parent2e8ffba44e4611f214e87391d4000b1b90edf4c6 (diff)
downloadvdr-plugin-epgsearch-bceeecfe25a52c3c66a6fc45b255ee80e664a508.tar.gz
vdr-plugin-epgsearch-bceeecfe25a52c3c66a6fc45b255ee80e664a508.tar.bz2
handle timers as modified only if the new start/stop times have changed by more than 60
secs
Diffstat (limited to 'searchtimer_thread.c')
-rw-r--r--searchtimer_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchtimer_thread.c b/searchtimer_thread.c
index 6c86335..80a6885 100644
--- a/searchtimer_thread.c
+++ b/searchtimer_thread.c
@@ -181,7 +181,7 @@ bool cSearchTimerThread::TimerWasModified(cTimer* t)
{
time_t StartTime = time_t(atol(start));
time_t StopTime = time_t(atol(stop));
- if (t->StartTime() != StartTime || t->StopTime() != StopTime)
+ if (abs(t->StartTime() - StartTime) >= 60 || abs(t->StopTime() -StopTime) >= 60)
bMod = true;
}
if (start) free(start);