diff options
| author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2009-02-15 20:24:29 +0100 |
|---|---|---|
| committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2009-02-15 20:24:29 +0100 |
| commit | bceeecfe25a52c3c66a6fc45b255ee80e664a508 (patch) | |
| tree | b4476b33ece7b91d6d4744c038f4aa36f791bfb8 | |
| parent | 2e8ffba44e4611f214e87391d4000b1b90edf4c6 (diff) | |
| download | vdr-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
| -rw-r--r-- | HISTORY | 2 | ||||
| -rw-r--r-- | HISTORY.DE | 2 | ||||
| -rw-r--r-- | searchtimer_thread.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ VDR Plugin 'epgsearch' Revision History 2008-xx-xx; Version 0.9.25 new: -- Search timers now have a new action "Ask for switching". This announces the +- Search timers now have a new action "Announce and switching". This announces the event via OSD right before it starts and lets you switch to its channel with 'Ok'. Switch timers now have the same option. - new internal variables: @@ -3,7 +3,7 @@ VDR Plugin 'epgsearch' Revision History 2008-xx-xx; Version 0.9.25 neu: -- Suchtimer haben nun eine neue Aktion "Umschalten erfragen". Damit wird eine Sendung +- Suchtimer haben nun eine neue Aktion "Ankündigen und Umschalten". Damit wird eine Sendung via OSD kurz vor ihrem Start angekündigt. Mit 'Ok' kann zum entsprechenden Kanal gewechselt werden. Umschalttimer haben die gleiche Option erhalten. - neue interne Variablen: 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); |
