media-export: Handle text/plain
authorJens Georg <jensg@openismus.com>
Mon, 3 Dec 2012 19:17:44 +0000 (20:17 +0100)
committerJens Georg <jensg@openismus.com>
Tue, 4 Dec 2012 12:32:05 +0000 (13:32 +0100)
commitf864537c3963455a77156d6f9656216eafcdb364
tree73d1b7641602db70e19419271ab1650c933c53bc
parent4df2d5601a3144e75c58795922a31b45ca90fb5f
media-export: Handle text/plain

DIDL_S playlists don't need to start with <?xml, so if a client does not
upload a playlist file with a .xml extenstion, shared-mime-info maps this to
text/plain, so we try those as well.

https://bugzilla.gnome.org/show_bug.cgi?id=689517
src/plugins/media-export/rygel-media-export-harvester.vala
src/plugins/media-export/rygel-media-export-harvesting-task.vala