diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-03-20 11:57:49 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-03-20 12:11:37 +0100 |
commit | 28432e1b4b1d1a6dcbf306c05927852f07bf66f8 (patch) | |
tree | c48da56a613f90c062dad15112f0d433d10b2517 /plparse/totem-pl-parser-xspf.c | |
parent | 6f7001fec750f9d41392ff99b1296f356f7142eb (diff) | |
download | totem-pl-parser-28432e1b4b1d1a6dcbf306c05927852f07bf66f8.tar.gz |
plparse: Export content-type in playlist-started
For the 3 playlist types that we can save, export their content
type in the parsers. This allows us to detect such playlists,
and offer to save them back in the same location.
Diffstat (limited to 'plparse/totem-pl-parser-xspf.c')
-rw-r--r-- | plparse/totem-pl-parser-xspf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plparse/totem-pl-parser-xspf.c b/plparse/totem-pl-parser-xspf.c index c567306..3103a3d 100644 --- a/plparse/totem-pl-parser-xspf.c +++ b/plparse/totem-pl-parser-xspf.c @@ -483,6 +483,7 @@ parse_xspf_entries (TotemPlParser *parser, TOTEM_PL_PARSER_FIELD_IS_PLAYLIST, TRUE, TOTEM_PL_PARSER_FIELD_URI, uri, TOTEM_PL_PARSER_FIELD_TITLE, title, + TOTEM_PL_PARSER_FIELD_CONTENT_TYPE, "application/xspf+xml", NULL); for (node = parent->children; node != NULL; node = node->next) { |