summaryrefslogtreecommitdiff
path: root/timer.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2020-02-24 20:23:50 +0100
committerhorchi <vdr@jwendel.de>2020-02-24 20:23:50 +0100
commitfdb3c7fd43d41cd27f875ec035904fc7eb6b6150 (patch)
tree3bab271b4bf2ca012dce920a9928064cb8e8913c /timer.c
parentf446cdf8961586c7bccb7a686b399f454f5cf31a (diff)
downloadvdr-plugin-epg2vdr-fdb3c7fd43d41cd27f875ec035904fc7eb6b6150.tar.gz
vdr-plugin-epg2vdr-fdb3c7fd43d41cd27f875ec035904fc7eb6b6150.tar.bz2
2020-02-24: version 1.1.110 (horchi)\n - bugfix: Fixed timer deactivation by webif\n\n1.1.110
Diffstat (limited to 'timer.c')
-rw-r--r--timer.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/timer.c b/timer.c
index 21b432c..c55e4ab 100644
--- a/timer.c
+++ b/timer.c
@@ -618,8 +618,6 @@ int cUpdate::updateTimerTable()
#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
LOCK_TIMERS_WRITE;
cTimers* timers = Timers;
- // cTimersLock timersLock(true);
- // cTimers* timers = timersLock.Timers();
#else
cTimers* timers = &Timers;
#endif
@@ -711,6 +709,11 @@ int cUpdate::updateTimerTable()
int insert = yes;
int timerId = getTimerIdOf(t);
+ // update only assumed timers
+
+ if (!timerDb->getValue("ACTION")->isEmpty() && !timerDb->hasCharValue("ACTION", taAssumed))
+ continue;
+
// no timer id or not in table -> handle as insert!
timerDb->clear();