summaryrefslogtreecommitdiff
path: root/searchtimer_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'searchtimer_thread.c')
-rw-r--r--searchtimer_thread.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/searchtimer_thread.c b/searchtimer_thread.c
index 1a3fed1..2dbc7df 100644
--- a/searchtimer_thread.c
+++ b/searchtimer_thread.c
@@ -855,7 +855,13 @@ void cSearchTimerThread::CheckManualTimers()
for (cTimer *ti = Timers.First(); ti && m_Active; ti = Timers.Next(ti))
{
if (TriggeredFromSearchTimerID(ti) != -1) continue; // manual timer?
-
+
+ if (TimerWasModified(ti))
+ {
+ LogFile.Log(2,"timer for '%s' (%s, channel %s) modified by user - won't be touched", ti->File(), DAYDATETIME(ti->StartTime()), CHANNELNAME(ti->Channel()));
+ continue; // don't update timers modified by user
+ }
+
char* szbstart = GetAuxValue(ti, "bstart");
int bstart = szbstart? atoi(szbstart) : 0;
free(szbstart);