diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-05-17 21:07:07 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-05-17 21:07:07 +0200 |
commit | b05fade925bd301abd7310d55daf33cfe7078714 (patch) | |
tree | aa69c43a84e6b43f793fe8b3656f2d9c2464df8f | |
parent | 22a0eae54f5552c84f81ccabec59a114c1afd05b (diff) | |
download | vdr-plugin-xmltv2vdr-b05fade925bd301abd7310d55daf33cfe7078714.tar.gz vdr-plugin-xmltv2vdr-b05fade925bd301abd7310d55daf33cfe7078714.tar.bz2 |
Fix bug #986 reported from oldmanuk (unknown elements)
-rw-r--r-- | parse.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -575,6 +575,18 @@ bool cParse::FetchEvent(xmlNodePtr enode, bool useeptext) { // info about subtitles -> just ignore (till now) } + else if ((!xmlStrcasecmp(node->name, (const xmlChar *) "new"))) + { + // info if it's new -> just ignore (till now) + } + else if ((!xmlStrcasecmp(node->name, (const xmlChar *) "premiere"))) + { + // premiere info -> just ignore (till now) + } + else if ((!xmlStrcasecmp(node->name, (const xmlChar *) "previously-shown"))) + { + // info if it's old ;) -> just ignore (till now) + } else { esyslogs(source,"unknown element %s, please report!",node->name); |