From: Joar Wandborg Date: Fri, 6 Jul 2012 20:42:31 +0000 (+0200) Subject: Removed .ogg extension from audio MEDIA_MANAGER. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9c6f6b78f4cbd70b7c956c31c8805eb9fe91ac5f;p=mediagoblin.git Removed .ogg extension from audio MEDIA_MANAGER. 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. --- diff --git a/mediagoblin/media_types/audio/__init__.py b/mediagoblin/media_types/audio/__init__.py index 9b33f9e3..4f3ead60 100644 --- 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']}