diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-06-23 16:22:22 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-06-23 16:55:21 +0200 |
commit | bac6a648f9a79cb2db3bcb57b38f0f27933dec10 (patch) | |
tree | 3f22f80f5cdb46f79169f4e57bf44d0fed9f972e | |
parent | 63b281f8b73211f0ea40fc73905403f85ffda7b5 (diff) | |
download | totem-pl-parser-bac6a648f9a79cb2db3bcb57b38f0f27933dec10.tar.gz |
podcast: Pass debug to videosite helper
Make sure to pass the debug flag down from the parser to the videosite
helper.
-rw-r--r-- | plparse/totem-pl-parser-podcast.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plparse/totem-pl-parser-podcast.c b/plparse/totem-pl-parser-podcast.c index a5222da..87917d8 100644 --- a/plparse/totem-pl-parser-podcast.c +++ b/plparse/totem-pl-parser-podcast.c @@ -273,7 +273,7 @@ parse_rss_item (TotemPlParser *parser, xml_node_t *parent) if (tmp != NULL) content_type = tmp; } else if (g_ascii_strcasecmp (node->name, "link") == 0 && - totem_pl_parser_is_videosite (node->data, FALSE) != FALSE) { + totem_pl_parser_is_videosite (node->data, totem_pl_parser_is_debugging_enabled (parser)) != FALSE) { uri = node->data; } else if (g_ascii_strcasecmp (node->name, "image") == 0) { const char *tmp; @@ -294,7 +294,7 @@ parse_rss_item (TotemPlParser *parser, xml_node_t *parent) if (id != NULL && uri == NULL && - totem_pl_parser_is_videosite (id, FALSE) != FALSE) + totem_pl_parser_is_videosite (id, totem_pl_parser_is_debugging_enabled (parser)) != FALSE) uri = id; if (uri != NULL) { @@ -580,7 +580,7 @@ parse_atom_entry (TotemPlParser *parser, xml_node_t *parent) href = xml_parser_get_property (node, "href"); if (href == NULL) continue; - if (!totem_pl_parser_is_videosite (href, FALSE)) + if (!totem_pl_parser_is_videosite (href, totem_pl_parser_is_debugging_enabled (parser))) continue; uri = href; } @@ -614,7 +614,7 @@ parse_atom_entry (TotemPlParser *parser, xml_node_t *parent) prop = xml_parser_get_property (child, "url"); if (prop == NULL) continue; - if (!totem_pl_parser_is_videosite (prop, FALSE)) + if (!totem_pl_parser_is_videosite (prop, totem_pl_parser_is_debugging_enabled (parser))) continue; uri = prop; } else if (g_ascii_strcasecmp (child->name, "media:thumbnail") == 0) { |