1
0
mirror of synced 2024-11-22 17:24:23 +01:00

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

View File

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