From 6b90d8d037c28a1105d477b492a7eea84ee8f388 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Tue, 4 Jan 2011 18:16:34 +0100 Subject: Added more log output --- parse.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/parse.cpp b/parse.cpp index 0124165..2adcdb8 100644 --- a/parse.cpp +++ b/parse.cpp @@ -559,6 +559,7 @@ bool cParse::Process(char *buffer, int bufsize) time_t begin=time(NULL); xmlNodePtr node=rootnode->xmlChildrenNode; + cEPGMapping *oldmap=NULL; while (node) { if (node->type==XML_ELEMENT_NODE) @@ -570,6 +571,13 @@ bool cParse::Process(char *buffer, int bufsize) if (channelid && (map=EPGMapping((const char *) channelid))) { time_t end=begin+(86000*map->Days())+3600; // 1 hour overlap + if (oldmap!=map) + { + dsyslog("xmltv2vdr: '%s' processing '%s'",name,channelid); + dsyslog("xmltv2vdr: '%s' from %s",name,ctime(&begin)); + dsyslog("xmltv2vdr: '%s' till %s",name,ctime(&end)); + } + oldmap=map; xmlChar *start,*stop; time_t starttime=(time_t) 0; time_t stoptime=(time_t) 0; -- cgit v1.2.3