You have been subscribed to a public bug:

There is no magic number for matroska video in the MIME database.
Matroska video files without extensions are not recognised. I have made
my own solution, though. I created this file as /usr/share/mime/packages
/delan-matroska.xml and ran update-mime-database:

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info";>
        <mime-type type="video/x-matroska">
                <sub-class-of type="application/x-matroska"/>
                <comment>Matroska video</comment>
                <magic-deleteall/>
                <magic priority="99">
                      <match value="440786851" type="big32" offset="0"/>
                </magic>

        </mime-type>
</mime-info>

More details about what I did to fix it here: http://azabani.com/28

The magic number for matroska video at 0x00-0x03 is 440786851 (big-
endian). This should be included in Ubuntu's default MIME data; I don't
use extensions with the belief that Ubuntu is smart enough not to need
them, and detect using magic numbers.

** Affects: shared-mime-info (Ubuntu)
     Importance: Undecided
         Status: New

-- 
No magic number for matroska; mkv without extension not recognised
https://bugs.launchpad.net/bugs/526275
You received this bug notification because you are a member of Ubuntu Desktop 
Bugs, which is subscribed to shared-mime-info in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to