From http://www.matroska.org/technical/specs/notes.html: "There is no IETF endorsed MIME type for Matroska files. But you can use the ones we have defined on your system : * .mka : Matroska audio audio/x-matroska * .mkv : Matroska video video/x-matroska" Patch attached.
Created attachment 8522 [details] [review] Matroska MIME type update
On a second thought, the patch sets magic priority to 50 for both audio/x-matroska and video/x-matroska. I guess the video one should be preferred, so perhaps lower it for audio or remove magic for audio altogether?
I committed with prio at 80 for the mka type, but this wouldn't work. Having the priority at 50 (just like the video type) means that as both audio and video are matches for a file, video will be preferred because of the suffix. We'll see how well that works in the future... 2007-02-02 Bastien Nocera <hadess@hadess.net> * freedesktop.org.xml.in: lower the prio of the audio/x-matroska to 50, so that detection can happen based on suffix as well 2007-02-02 Bastien Nocera <hadess@hadess.net> * freedesktop.org.xml.in: Patch from Ville Skyttä <ville.skytta@iki.fi> to use the preferred Matroska mime-types, add Matroska audio support (Closes: #9788)
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.