summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-05-07 06:32:48 +0200
committerJochen Dolze <vdr@dolze.de>2012-05-07 06:32:48 +0200
commita401b5286f128d99ef627dc3522545f60899b1b9 (patch)
treedddc040f23be9432dc3b899996d6f7b8a61f3291
parent510d6a8c2690f4435ae2faafa64b896232ae8bbe (diff)
downloadvdr-plugin-xmltv2vdr-a401b5286f128d99ef627dc3522545f60899b1b9.tar.gz
vdr-plugin-xmltv2vdr-a401b5286f128d99ef627dc3522545f60899b1b9.tar.bz2
Adding newline to events without description
-rw-r--r--HISTORY4
-rw-r--r--import.cpp2
-rw-r--r--xmltv2vdr.cpp2
3 files changed, 7 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 5b03697..7051abb 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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
diff --git a/import.cpp b/import.cpp
index f2e304c..4d9360a 100644
--- a/import.cpp
+++ b/import.cpp
@@ -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;
}