1
0
Fork 0

libmat2: audio: add the audio/x-flac mime type

The FLAC parser looks for the 'audio/flac' mime type, but Fedora
defines 'audio/x-flac' in /etc/mime.types for FLAC files. Add this mime
type to the audio parser.

Fixes #36.

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
This commit is contained in:
Antoine Tenart 2018-06-12 21:27:44 +02:00
parent 3359f36b67
commit 484e26dd9c
1 changed files with 1 additions and 1 deletions

View File

@ -36,4 +36,4 @@ class OGGParser(MutagenParser):
class FLACParser(MutagenParser):
mimetypes = {'audio/flac', }
mimetypes = {'audio/flac', 'audio/x-flac' }