From b05fade925bd301abd7310d55daf33cfe7078714 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Thu, 17 May 2012 21:07:07 +0200 Subject: Fix bug #986 reported from oldmanuk (unknown elements) --- parse.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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); -- cgit v1.2.3