diff options
-rw-r--r-- | epg2vdr.c | 3 | ||||
-rw-r--r-- | ttools.c | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -473,6 +473,9 @@ int cPluginEPG2VDR::initDb() // where // (t.state in ('P','R') or t.state is null) // and t.vdruuid = v.uuid + // and t.type = 'R' + // and t.vdruuid = v.uuid + // order by _starttime selectTimers = new cDbStatement(timerDb); @@ -332,6 +332,7 @@ int updateRowByTimer(cDbRow* timerRow, const cTimer* t) timerRow->setValue("VDRUUID", Epg2VdrConfig.uuid); timerRow->setValue("EVENTID", t->Event() ? (long)t->Event()->EventID() : 0); timerRow->setValue("_STARTTIME", t->Event() ? t->Event()->StartTime() : 0); + timerRow->setValue("_ENDTIME", t->Event() ? t->StopTime() : 0); timerRow->setValue("CHANNELID", channelId); timerRow->setValue("DAY", t->Day()); timerRow->setValue("STARTTIME", t->Start()); |