summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2018-02-20 19:45:47 +0100
committerhorchi <vdr@jwendel.de>2018-02-20 19:45:47 +0100
commit697e967988bbac57f344c5a0f496a6fb2d993a77 (patch)
tree54e1c988c1c828f81ee9550bb6a272b1895b72f3
parent9408390609806ebc450e3fb19dacfd86db92b708 (diff)
downloadvdr-plugin-epg2vdr-697e967988bbac57f344c5a0f496a6fb2d993a77.tar.gz
vdr-plugin-epg2vdr-697e967988bbac57f344c5a0f496a6fb2d993a77.tar.bz2
2018-02-20 version 1.1.87 (horchi)\n - change: No forerunnings for switch timers\n\n1.1.87
-rw-r--r--HISTORY.h7
-rw-r--r--timer.c4
2 files changed, 7 insertions, 4 deletions
diff --git a/HISTORY.h b/HISTORY.h
index cbc9075..7540445 100644
--- a/HISTORY.h
+++ b/HISTORY.h
@@ -5,8 +5,8 @@
*
*/
-#define _VERSION "1.1.86"
-#define VERSION_DATE "17.02.2018"
+#define _VERSION "1.1.87"
+#define VERSION_DATE "20.02.2018"
#define DB_API 6
@@ -19,6 +19,9 @@
/*
* ------------------------------------
+2018-02-20 version 1.1.87 (horchi)
+ - change: No forerunnings for switch timers
+
2018-02-17 version 1.1.86 (horchi)
- bugfix: Fix for 1.1.85
diff --git a/timer.c b/timer.c
index 3295085..28c8a6c 100644
--- a/timer.c
+++ b/timer.c
@@ -500,11 +500,11 @@ int cUpdate::takeSwitchTimer()
tell(1, "Got switch timer (%ld) for channel '%s' at '%s'",
timerid, timerDb->getStrValue("CHANNELID"),
- l2pTime(timerDb->getIntValue("_STARTTIME") - tmeSecondsPerMinute).c_str());
+ l2pTime(timerDb->getIntValue("_STARTTIME")).c_str());
switchTimers[timerid].eventId = timerDb->getIntValue("EVENTID");
switchTimers[timerid].channelId = timerDb->getStrValue("CHANNELID");
- switchTimers[timerid].start = timerDb->getIntValue("_STARTTIME") - tmeSecondsPerMinute;
+ switchTimers[timerid].start = timerDb->getIntValue("_STARTTIME");
timerDb->setCharValue("ACTION", taAssumed);
timerDb->setCharValue("STATE", tsPending);