summaryrefslogtreecommitdiff
path: root/libmat2
diff options
context:
space:
mode:
authorAntoine Tenart2018-06-12 21:27:44 +0200
committerAntoine Tenart2018-06-12 21:34:47 +0200
commit484e26dd9c03704adb60f209cf6301b52c4a04c7 (patch)
treedfd0bb90e331223a0e1e64218bbab328af52a0fe /libmat2
parent3359f36b67df91b4cb40aacad80d45ff25e3c2d5 (diff)
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>
Diffstat (limited to 'libmat2')
-rw-r--r--libmat2/audio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/audio.py b/libmat2/audio.py
index 3a6aa79..9b73031 100644
--- a/libmat2/audio.py
+++ b/libmat2/audio.py
@@ -36,4 +36,4 @@ class OGGParser(MutagenParser):
36 36
37 37
38class FLACParser(MutagenParser): 38class FLACParser(MutagenParser):
39 mimetypes = {'audio/flac', } 39 mimetypes = {'audio/flac', 'audio/x-flac' }