audio/mpeg mime type



Hi,

is there any reason audio/mpeg mime type is not defined in
gnome-mime-data ? 
Web servers appear to use it to identify mp3s. So galeon would need this
type to be added to handle them correctly.
I hope I'm not missing something obvious :)
Would be ok to commit the attached patch ?

Thanks

Marco


? autom4te.cache
Index: gnome-vfs.applications
===================================================================
RCS file: /cvs/gnome/gnome-mime-data/gnome-vfs.applications,v
retrieving revision 1.51
diff -u -r1.51 gnome-vfs.applications
--- gnome-vfs.applications	5 Sep 2002 01:39:32 -0000	1.51
+++ gnome-vfs.applications	29 Sep 2002 14:13:54 -0000
@@ -101,7 +101,7 @@
 	expects_uris=true
 	requires_terminal=false
 	supported_uri_schemes=http,file
-	mime_types=audio/x-mp3,audio/x-mpeg,application/x-ogg,audio/x-wav
+	mime_types=audio/x-mp3,audio/x-mpeg,application/x-ogg,audio/x-wav,audio/mpeg
 
 freeamp-no-uris
 	command=freeamp
@@ -343,7 +343,7 @@
 	expects_uris=non-file
 	requires_terminal=false
 	supported_uri_schemes=http,ftp,file
-	mime_types=audio/x-mp3,audio/x-mpeg
+	mime_types=audio/x-mp3,audio/x-mpeg,audio/mpeg
 
 mtv
 	command=mtv
@@ -523,7 +523,7 @@
 	expects_uris=true
 	requires_terminal=false
 	supported_uri_schemes=http,ftp,file
-	mime_types=audio/x-mp3,audio/x-mpeg,application/x-ogg,audio/x-wav,audio/x-riff
+	mime_types=audio/x-mp3,audio/x-mpeg,application/x-ogg,audio/x-wav,audio/x-riff,audio/mpeg
 
 xmms-no-uris
 	command=xmms
@@ -539,7 +539,7 @@
 	can_open_multiple_files=true
 	expects_uris=false
 	requires_terminal=false
-	mime_types=video/x-msvideo,video/x-ms-asf,video/mpeg,audio/x-mp3,audio/ac3,audio/x-wav
+	mime_types=video/x-msvideo,video/x-ms-asf,video/mpeg,audio/x-mp3,audio/ac3,audio/x-wav,audio/mpeg
 
 xpdf
 	command=xpdf
Index: gnome-vfs.keys.in
===================================================================
RCS file: /cvs/gnome/gnome-mime-data/gnome-vfs.keys.in,v
retrieving revision 1.65
diff -u -r1.65 gnome-vfs.keys.in
--- gnome-vfs.keys.in	20 Aug 2002 08:39:37 -0000	1.65
+++ gnome-vfs.keys.in	29 Sep 2002 14:14:04 -0000
@@ -985,7 +985,17 @@
 	short_list_application_ids_for_advanced_user_level=soundtracker
 	_category=Audio
 
-# also audio/x-mpeg
+# also audio/x-mpeg and audio/x-mp3
+audio/mpeg
+	_description=MP3 audio
+	icon_filename=i-music
+	default_action_type=application
+	short_list_application_ids_for_novice_user_level=xmms,freeamp,mpg123
+	short_list_application_ids_for_intermediate_user_level=xmms,freeamp,mpg123
+	short_list_application_ids_for_advanced_user_level=xmms,freeamp,mpg123
+	_category=Audio
+
+# also audio/x-mpeg and audio/mpeg
 audio/x-mp3
 	_description=MP3 audio
 	icon_filename=i-music
@@ -1004,7 +1014,7 @@
 	short_list_application_ids_for_advanced_user_level=xmms-no-uris,freeamp-no-uris
 	_category=Audio
 
-# also audio/x-mp3
+# also audio/x-mp3 and audio/mpeg
 audio/x-mpeg
 	_description=MP3 audio
 	icon_filename=i-music
Index: gnome-vfs.mime
===================================================================
RCS file: /cvs/gnome/gnome-mime-data/gnome-vfs.mime,v
retrieving revision 1.45
diff -u -r1.45 gnome-vfs.mime
--- gnome-vfs.mime	20 Aug 2002 08:39:37 -0000	1.45
+++ gnome-vfs.mime	29 Sep 2002 14:14:05 -0000
@@ -356,6 +356,9 @@
 audio/basic
 	ext: snd
 
+audio/mpeg
+	ext: mp3
+
 audio/prs.sid
 	ext: sid psid
 


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