summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-05-17 21:07:07 +0200
committerJochen Dolze <vdr@dolze.de>2012-05-17 21:07:07 +0200
commitb05fade925bd301abd7310d55daf33cfe7078714 (patch)
treeaa69c43a84e6b43f793fe8b3656f2d9c2464df8f
parent22a0eae54f5552c84f81ccabec59a114c1afd05b (diff)
downloadvdr-plugin-xmltv2vdr-b05fade925bd301abd7310d55daf33cfe7078714.tar.gz
vdr-plugin-xmltv2vdr-b05fade925bd301abd7310d55daf33cfe7078714.tar.bz2
Fix bug #986 reported from oldmanuk (unknown elements)
-rw-r--r--parse.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/parse.cpp b/parse.cpp
index b3bfe1e..050136e 100644
--- a/parse.cpp
+++ b/parse.cpp
@@ -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);