summaryrefslogtreecommitdiff
path: root/ttools.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2018-02-16 08:04:37 +0100
committerhorchi <vdr@jwendel.de>2018-02-16 08:04:37 +0100
commit81a3b0255bbf74bd6d6fe17cef394a4d4f338b09 (patch)
tree7fa3046670ef31dbbf01eafac50435d07372b968 /ttools.c
parent4b7842feee923e0ab599fcfb40138df489682d4a (diff)
downloadvdr-plugin-epg2vdr-81a3b0255bbf74bd6d6fe17cef394a4d4f338b09.tar.gz
vdr-plugin-epg2vdr-81a3b0255bbf74bd6d6fe17cef394a4d4f338b09.tar.bz2
2018-02-13 version 1.1.84 (horchi)\n - added: Timer 'type' to timers menu\n\n1.1.84
Diffstat (limited to 'ttools.c')
-rw-r--r--ttools.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ttools.c b/ttools.c
index 96afed9..5b2d9d8 100644
--- a/ttools.c
+++ b/ttools.c
@@ -471,9 +471,12 @@ cEpgTimer* newTimerObjectFromRow(cDbRow* timerRow, cDbRow* vdrRow)
timer->setTimerId(timerRow->getIntValue("ID"));
timer->setEventId(timerRow->getIntValue("EVENTID"));
+ timer->setType(!timerRow->getValue("TYPE")->isNull() ? timerRow->getStrValue("TYPE")[0] : ttRecord);
timer->setAction(!timerRow->getValue("ACTION")->isNull() ? timerRow->getStrValue("ACTION")[0] : ' ');
timer->setVdr(vdrRow->getStrValue("NAME"), vdrRow->getStrValue("UUID"), vdrRow->hasValue("STATE", "attached"));
timer->setState(!timerRow->getValue("STATE")->isNull() ? timerRow->getStrValue("STATE")[0] : ' ', timerRow->getStrValue("INFO"));
+ timer->setCreateTime(timerRow->getIntValue("INSSP"));
+ timer->setModTime(timerRow->getIntValue("UPDSP"));
#ifdef WITH_PIN
timer->SetFskProtection(timerRow->getIntValue("CHILDLOCK"));