I'm running Gnome 2.5.x updated with the latest packages, and in Nautilus all .avi files are recognised as audio/x-riff. At first we thought that it was a problem with our installation, but we managed to track it down to shared-mime-info. We discovered that if we lower the priority for audio/x-riff in /usr/share/mime/packages/freedesktop.org.xml and run update-mime-database that avi files are recognised as they should. We're not sure if this breaks audio/x-riff support. Could someone please comment on this?
I forgot to mention that I'm using shared-mime-info 0.13 and that I'm running Gentoo. I'm not using Garnome but custom ebuilds provided by breakmygentoo.net
This problem shows up with shared-mime-info 0.13, tested on Gentoo Linux. (breakmygentoo.net ebuilds) Presumable cause: The mime magic finds a file starting with the characters "RIFF" and has a matching audio/x-riff entry for it. However, .avi and .mpg files tend to start with "RIFF" (and then some) aswell. The .avi and .mpg entries should have a higher priority in cases where multiple mime magic entries apply.
Oh, I just found out that this problem was probably fixed in CVS two weeks ago. http://freedesktop.org/cgi-bin/viewcvs.cgi/mime/shared-mime- info/freedesktop.org.xml, revision 1.29 Sorry for reporting this. Let's change this to a request for a new release then :)
Yeah. This was fixed, as you noticed. I'm going to do a release soon.
*** Bug 239 has been marked as a duplicate of this bug. ***
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.