summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2020-02-17 19:22:04 +0100
committerhorchi <vdr@jwendel.de>2020-02-17 19:22:04 +0100
commit9250a19c953832f569252b26149b73c53cb43e67 (patch)
tree3276b445f49f0796e40e84ec713dde2a340cf03d /lib
parent8114560e64f8b1e51260483c691c26c7b5a9dfb2 (diff)
downloadvdr-epg-daemon-9250a19c953832f569252b26149b73c53cb43e67.tar.gz
vdr-epg-daemon-9250a19c953832f569252b26149b73c53cb43e67.tar.bz2
2020-02-17: version 1.1.157 (horchi)\n - bugfix: Fixed conflicting timer start times\n\n1.1.157
Diffstat (limited to 'lib')
-rw-r--r--lib/searchtimer.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/searchtimer.c b/lib/searchtimer.c
index d844c18..06aa323 100644
--- a/lib/searchtimer.c
+++ b/lib/searchtimer.c
@@ -770,14 +770,14 @@ int cSearchTimer::checkTimers()
// Check Start Time
- if (!timerDb->hasValue("_STARTTIME", useeventsDb->getIntValue("STARTTIME")))
+ if (!timerDb->hasValue("EVTSTARTTIME", useeventsDb->getIntValue("STARTTIME")))
{
// if difference < 2 minutes adjust silent
- if (std::abs(timerDb->getIntValue("_STARTTIME") - useeventsDb->getIntValue("STARTTIME")) > 2*tmeSecondsPerMinute)
+ if (std::abs(timerDb->getIntValue("EVTSTARTTIME") - useeventsDb->getIntValue("STARTTIME")) > 2*tmeSecondsPerMinute)
parent->message(0, 'I', "EPGD: Timer action", "Info: Starttime of event (%ld) '%s' changed from '%s' to '%s', updating timer (%ld)",
timerDb->getIntValue("EVENTID"), useeventsDb->getStrValue("TITLE"),
- l2pTime(timerDb->getIntValue("_STARTTIME")).c_str(), l2pTime(useeventsDb->getIntValue("STARTTIME")).c_str(),
+ l2pTime(timerDb->getIntValue("EVTSTARTTIME")).c_str(), l2pTime(useeventsDb->getIntValue("STARTTIME")).c_str(),
timerDb->getIntValue("ID"));
modifyTimer(timerDb, timerDb->hasCharValue("ACTION", taCreate) ? taCreate : taAdjust);
@@ -1337,7 +1337,8 @@ int cSearchTimer::createTimer(int id)
timerRow.setValue("TYPE", searchtimerDb->getStrValue("TYPE"));
timerRow.setValue("SOURCE", "epgd");
timerRow.setValue("EVENTID", useeventsDb->getIntValue("USEID"));
- timerRow.setValue("_STARTTIME", useeventsDb->getIntValue("STARTTIME"));
+// timerRow.setValue("_STARTTIME", useeventsDb->getIntValue("STARTTIME"));
+ timerRow.setValue("EVTSTARTTIME", useeventsDb->getIntValue("STARTTIME"));
timerRow.setValue("CHANNELID", useeventsDb->getStrValue("CHANNELID"));
timerRow.setValue("NAMINGMODE", namingmode);
timerRow.setValue("TEMPLATE", tmplExpression);