projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118bafb
)
Removed .ogg extension from audio MEDIA_MANAGER.
author
Joar Wandborg
<git@wandborg.com>
Fri, 6 Jul 2012 20:42:31 +0000
(22:42 +0200)
committer
Joar Wandborg
<git@wandborg.com>
Fri, 6 Jul 2012 20:42:31 +0000
(22:42 +0200)
There is some historical controversy about the .ogg extension and what
you should expect from it. It's better to let the audio and video
plugins take the sniffing-based route to find out what it really seems
to be.
mediagoblin/media_types/audio/__init__.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/media_types/audio/__init__.py
b/mediagoblin/media_types/audio/__init__.py
index 9b33f9e3cd4d288d07ab7d71757623c93b51d88b..4f3ead60a92e38248fa46f60e471c1c2f05110b5 100644
(file)
--- a/
mediagoblin/media_types/audio/__init__.py
+++ b/
mediagoblin/media_types/audio/__init__.py
@@
-22,4
+22,4
@@
MEDIA_MANAGER = {
'processor': process_audio,
'sniff_handler': sniff_handler,
'display_template': 'mediagoblin/media_displays/audio.html',
- 'accepted_extensions': ['mp3', 'flac', '
ogg', '
wav', 'm4a']}
+ 'accepted_extensions': ['mp3', 'flac', 'wav', 'm4a']}