summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2020-02-17 19:28:56 +0100
committerhorchi <vdr@jwendel.de>2020-02-17 19:28:56 +0100
commitf446cdf8961586c7bccb7a686b399f454f5cf31a (patch)
tree6ee8f9188db07b9f9a5d203a399b2fb747b4e07a
parent3498fff069e4c02588fae02b3b44e0ded35cc0ee (diff)
downloadvdr-plugin-epg2vdr-f446cdf8961586c7bccb7a686b399f454f5cf31a.tar.gz
vdr-plugin-epg2vdr-f446cdf8961586c7bccb7a686b399f454f5cf31a.tar.bz2
2020-02-17: version 1.1.109 (horchi)\n - bugfix: Fixed conflicting timer start times\n\n1.1.109
-rw-r--r--HISTORY.h7
-rw-r--r--configs/epg.dat1
-rw-r--r--ttools.c1
3 files changed, 7 insertions, 2 deletions
diff --git a/HISTORY.h b/HISTORY.h
index 6bf121e..077cce5 100644
--- a/HISTORY.h
+++ b/HISTORY.h
@@ -5,8 +5,8 @@
*
*/
-#define _VERSION "1.1.108"
-#define VERSION_DATE "16.02.2020"
+#define _VERSION "1.1.109"
+#define VERSION_DATE "17.02.2020"
#define DB_API 7
@@ -19,6 +19,9 @@
/*
* ------------------------------------
+2020-02-17: version 1.1.109 (horchi)
+ - bugfix: Fixed conflicting timer start times
+
2020-02-16: version 1.1.108 (horchi)
- bugfix: 'Fix of fix' of time handling for timers without event :(
diff --git a/configs/epg.dat b/configs/epg.dat
index aae0c97..d23f7a7 100644
--- a/configs/epg.dat
+++ b/configs/epg.dat
@@ -611,6 +611,7 @@ Table timers
EVENTID "useid" eventid UInt 0 Data,
CHANNELID "" channelid Ascii 50 Data,
+ EVTSTARTTIME "start time of the event, if any" evtstarttime Int 10 Data,
_STARTTIME "pre filled start timer for trigger" _starttime Int 10 Data,
_ENDTIME "pre filled end time" _endtime Int 10 Data,
diff --git a/ttools.c b/ttools.c
index 685f383..58dcd44 100644
--- a/ttools.c
+++ b/ttools.c
@@ -334,6 +334,7 @@ int updateRowByTimer(cDbRow* timerRow, const cTimer* t)
timerRow->setValue("VDRUUID", Epg2VdrConfig.uuid);
timerRow->setValue("EVENTID", t->Event() ? (long)t->Event()->EventID() : 0);
+ if (t->Event()) timerRow->setValue("EVTSTARTTIME", t->Event()->StartTime());
timerRow->setValue("_STARTTIME", startTime);
timerRow->setValue("_ENDTIME", endTime);
timerRow->setValue("CHANNELID", channelId);