Fixed wrong mimetype for flac files

This commit is contained in:
Eliot Berriot 2018-05-15 21:57:31 +02:00
parent b3a6c6d77f
commit 3415d02028
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ def compute_status(jobs):
AUDIO_EXTENSIONS_AND_MIMETYPE = [
('ogg', 'audio/ogg'),
('mp3', 'audio/mpeg'),
('flac', 'audio/flac'),
('flac', 'audio/x-flac'),
]
EXTENSION_TO_MIMETYPE = {ext: mt for ext, mt in AUDIO_EXTENSIONS_AND_MIMETYPE}