summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2020-02-29 16:14:49 +0100
committerhorchi <vdr@jwendel.de>2020-02-29 16:14:49 +0100
commit77d13f63d0d0953796b9c859ad1fb54a64f78f47 (patch)
tree6c0d7b0314b420c7d2643362f90e2efd8b5266de
parentfdb3c7fd43d41cd27f875ec035904fc7eb6b6150 (diff)
downloadvdr-plugin-epg2vdr-1.1.111.tar.gz
vdr-plugin-epg2vdr-1.1.111.tar.bz2
2020-02-29: version 1.1.111 (horchi)\n - bugfix: Fixed time calculation\n\n1.1.111
-rw-r--r--HISTORY.h7
-rw-r--r--ttools.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/HISTORY.h b/HISTORY.h
index 1f50d3b..82c47fc 100644
--- a/HISTORY.h
+++ b/HISTORY.h
@@ -5,8 +5,8 @@
*
*/
-#define _VERSION "1.1.110"
-#define VERSION_DATE "24.02.2020"
+#define _VERSION "1.1.111"
+#define VERSION_DATE "29.02.2020"
#define DB_API 7
@@ -19,6 +19,9 @@
/*
* ------------------------------------
+2020-02-29: version 1.1.111 (horchi)
+ - bugfix: Fixed time calculation
+
2020-02-24: version 1.1.110 (horchi)
- bugfix: Fixed timer deactivation by webif
diff --git a/ttools.c b/ttools.c
index 58dcd44..25b2fdb 100644
--- a/ttools.c
+++ b/ttools.c
@@ -330,7 +330,7 @@ int updateRowByTimer(cDbRow* timerRow, const cTimer* t)
contentOfTag(t, "source", source, 40);
time_t startTime = hhmm2L(t->Start(), t->Day());
- time_t endTime = hhmm2L(t->Stop(), t->Day() + t->Stop() < t->Start() ? t->Day() + tmeSecondsPerDay : t->Day());
+ time_t endTime = hhmm2L(t->Stop(), t->Stop() < t->Start() ? t->Day() + tmeSecondsPerDay : t->Day());
timerRow->setValue("VDRUUID", Epg2VdrConfig.uuid);
timerRow->setValue("EVENTID", t->Event() ? (long)t->Event()->EventID() : 0);