diff options
author | horchi <vdr@jwendel.de> | 2018-02-16 08:04:37 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2018-02-16 08:04:37 +0100 |
commit | 81a3b0255bbf74bd6d6fe17cef394a4d4f338b09 (patch) | |
tree | 7fa3046670ef31dbbf01eafac50435d07372b968 /ttools.c | |
parent | 4b7842feee923e0ab599fcfb40138df489682d4a (diff) | |
download | vdr-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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")); |