diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-05-07 06:32:48 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-05-07 06:32:48 +0200 |
commit | a401b5286f128d99ef627dc3522545f60899b1b9 (patch) | |
tree | dddc040f23be9432dc3b899996d6f7b8a61f3291 | |
parent | 510d6a8c2690f4435ae2faafa64b896232ae8bbe (diff) | |
download | vdr-plugin-xmltv2vdr-a401b5286f128d99ef627dc3522545f60899b1b9.tar.gz vdr-plugin-xmltv2vdr-a401b5286f128d99ef627dc3522545f60899b1b9.tar.bz2 |
Adding newline to events without description
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | import.cpp | 2 | ||||
-rw-r--r-- | xmltv2vdr.cpp | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,9 @@ VDR Plugin 'xmltv2vdr' Revision History --------------------------------------- +2012-05-05: Version 0.1.1 + +- Lots of updates + 2012-04-01: Version 0.1.0 - Added EpgHandler support @@ -548,7 +548,7 @@ bool cImport::PutEvent(cEPGSource *Source, sqlite3 *Db, cSchedule* Schedule, description=strdup(xEvent->EITDescription()); } - if (description) description=Add2Description(description,"\n"); + description=Add2Description(description,"\n"); if ((Flags & USE_CREDITS)==USE_CREDITS) { diff --git a/xmltv2vdr.cpp b/xmltv2vdr.cpp index a13a3d3..3b4c00b 100644 --- a/xmltv2vdr.cpp +++ b/xmltv2vdr.cpp @@ -833,7 +833,9 @@ time_t cPluginXmltv2vdr::WakeupTime(void) if (!wakeup) return (time_t) 0; time_t nextruntime=g.EPGSources()->NextRunTime(); if (nextruntime) nextruntime-=(time_t) 180; + #ifdef VDRDBG tsyslog("reporting wakeuptime %s",ctime(&nextruntime)); + #endif return nextruntime; } |