[tracker/tracker-0.6] Fixes NB#147883, Not supported mime-type by totem-pl-parser



commit 0bfcb1775be66b88796ffeedccf27998b33daea2
Author: Mikael Ottela <mikael ottela ixonos com>
Date:   Fri Jan 8 12:18:18 2010 +0200

    Fixes NB#147883,Not supported mime-type by totem-pl-parser
    
    Added missing mime-types for playlist extraction

 data/services/default.service                  |    2 +-
 src/tracker-extract/tracker-extract-playlist.c |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/services/default.service b/data/services/default.service
index 942997a..190143e 100644
--- a/data/services/default.service
+++ b/data/services/default.service
@@ -308,7 +308,7 @@ DisplayName=Playlists
 Description=Music playlists
 Parent=Files
 PropertyPrefix=Playlist
-Mimes=audio/x-mpegurl;audio/mpegurl;audio/x-scpls;audio/x-pn-realaudio;application/ram;application/vnd.ms-wpl;application/smil;audio/x-ms-asx;audio/x-pn-realaudio-plugin;
+Mimes=audio/x-mpegurl;audio/mpegurl;audio/x-scpls;audio/x-pn-realaudio;application/ram;application/vnd.ms-wpl;application/smil;audio/x-ms-asx;audio/x-pn-realaudio-plugin;application/x-ms-asx;
 KeyMetadata6=Playlist:Duration
 KeyMetadata7=Playlist:Songs
 KeyMetadata8=Playlist:ValidDuration
diff --git a/src/tracker-extract/tracker-extract-playlist.c b/src/tracker-extract/tracker-extract-playlist.c
index c4caafc..83850e6 100644
--- a/src/tracker-extract/tracker-extract-playlist.c
+++ b/src/tracker-extract/tracker-extract-playlist.c
@@ -60,6 +60,7 @@ static TrackerExtractData data[] = {
 	{ "application/vnd.ms-wpl", extract_playlist }, 
 	{ "application/smil", extract_playlist }, 
 	{ "audio/x-ms-asx", extract_playlist },
+	{ "application/x-ms-asx", extract_playlist },
 	{ NULL, NULL }
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]