]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
xmltv: fix previously-shown parsing, fixes #3538
authorJaroslav Kysela <perex@perex.cz>
Sat, 30 Jan 2016 14:10:01 +0000 (15:10 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 30 Jan 2016 14:10:01 +0000 (15:10 +0100)
src/epggrab/module/xmltv.c

index b5edb515a64fe74bde4633237dd5e3be631a2f77..1b3574dc4230f2959865cb7629cf5587ba6cbf10 100644 (file)
@@ -494,7 +494,9 @@ static int _xmltv_parse_programme_tags
   save |= xmltv_parse_accessibility(mod, ebc, tags);
 
   /* Misc */
-  save |= _xmltv_parse_previously_shown(mod, ebc, tags, &first_aired);
+  save |= _xmltv_parse_previously_shown(mod, ebc,
+                                        htsmsg_get_map(tags, "previously-shown"),
+                                        &first_aired);
   if (htsmsg_get_map(tags, "premiere") ||
       htsmsg_get_map(tags, "new"))
     save |= epg_broadcast_set_is_new(ebc, 1, mod);