Koos Vriezen reported the following missing mimetypes which are needed for kmplayer: <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/x-mplayer2"> <comment>Microsoft Media Format</comment> <sub-class-of type="video/x-ms-wmv"/> <alias type="video/mediaplayer"/> <alias type="video/x-ms-wmp"/> <glob pattern="*.wmp"/> </mime-type> <mime-type type="application/vnd.ms-asf"> <comment>Microsoft Media Format</comment> <sub-class-of type="video/x-ms-wmv"/> </mime-type> <mime-type type="application/x-kmplayer"> <comment>KMPlayer Format</comment> </mime-type> <mime-type type="application/x-ogg"> <comment>Ogg multimedia file</comment> <sub-class-of type="application/ogg"/> </mime-type> <mime-type type="audio/m3u"> <comment>MP3 audio</comment> <sub-class-of type="audio/x-mpegurl"/> <alias type="audio/x-m3u"/> </mime-type> <mime-type type="audio/vorbis"> <comment>Vorbis audio</comment> <sub-class-of type="audio/ogg"/> <alias type="audio/x-vorbis"/> </mime-type> <mime-type type="audio/x-mp2"> <comment>MP2 audio</comment> <sub-class-of type="audio/mp2"/> </mime-type> <mime-type type="audio/x-oggflac"> <comment>MP2 audio</comment> <sub-class-of type="audio/x-flac+ogg"/> </mime-type> <mime-type type="video/x-ogm"> <comment>Ogg/Ogm Video</comment> <sub-class-of type="video/x-ogm+ogg"/> </mime-type> <mime-type type="video/x-theora"> <comment>Ogg/Ogm Video</comment> <sub-class-of type="video/x-theora+ogg"/> </mime-type> </mime-info>
Most of those are already in there, please file a separate bug with one mime-type addition per bug, and explain why each mime-type needs to be added.
Those are mostly aliases, which are not already there. But yes I expect Koos to comment on those, he said he will do that later today. Ideally he would provide a patch for freedesktop.org.xml.in too, otherwise I'll do that :-) I don't think it makes sense to create one bug report per missing _alias_?? The reason is mostly "webservers send out those aliases"...
Created attachment 22135 [details] [review] diff against 0.51
These are listed as the supported mimetypes from mplayer and are just aliases. I've made a diff against 0.51.
Reopening - the patch shows all the missing aliases that are commonly used by webservers.
Comment on attachment 22135 [details] [review] diff against 0.51 Please provide a patch against the .in file, not the generated file with translations.
Created attachment 22155 [details] [review] Diff against freedesktop.org.xml.in 0.51
Latest patch looks good to me. Bastien, OK if I commit it?
The aliases look fine, the video/x-ms-wmp mime addition doesn't though. It's not a file type, it's a mime-type used to embed plugins into a page, so it won't get added (see also application/x-vlc-plugin, or audio/x-pn-realaudio-plugin). * freedesktop.org.xml.in: Patch from Koos Vriezen <koos.vriezen@gmail.com> to add more aliases for media types, as used by kmplayer (Closes: #19671)
Sorry to ping an old bug but the audio/mp2 mime type does not look right to me. Problem is we have a conflict with mp3 files: http://tools.ietf.org/html/rfc3003 The rfc uses audio/mpeg for .mp1, .mp2 and .mp3 audio files. If I'm reading rfc 3555 correctly, the correct identification would be audio/MPA; layer=x where x is 1, 2 or 3. It's a little silly for our purposes. My solution would be a generic audio/mpeg mime type, and specific audio/x-mpeg1, audio/x-mpeg2 and audio/x-mpeg3 child mime types (or similar).
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.