The only detection for FLAC files (audio/x-flac) is currently wildcard filename detection (*.flac). This doesn't work for files that don't end in FLAC, even though FLAC contains a magic value to identify it. Adding the following: <magic priority="50"> <match value="fLaC" type="string" offset="0"/> </magic> Allows FLAC files without .flac extensions to be correctly detected.
commit dc00493cd7d896d6207fc325574e99a5db9ed570 Author: Bastien Nocera <hadess@hadess.net> Date: Tue Oct 13 12:33:48 2009 +0100 [mime] Add magic for FLAC files Provided by mitchell@kde.org
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.