diff options
| author | Antoine Tenart | 2018-06-12 21:27:44 +0200 |
|---|---|---|
| committer | Antoine Tenart | 2018-06-12 21:34:47 +0200 |
| commit | 484e26dd9c03704adb60f209cf6301b52c4a04c7 (patch) | |
| tree | dfd0bb90e331223a0e1e64218bbab328af52a0fe /libmat2 | |
| parent | 3359f36b67df91b4cb40aacad80d45ff25e3c2d5 (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.py | 2 |
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 | ||
| 38 | class FLACParser(MutagenParser): | 38 | class FLACParser(MutagenParser): |
| 39 | mimetypes = {'audio/flac', } | 39 | mimetypes = {'audio/flac', 'audio/x-flac' } |
