From 9c6f6b78f4cbd70b7c956c31c8805eb9fe91ac5f Mon Sep 17 00:00:00 2001 From: Joar Wandborg Date: Fri, 6 Jul 2012 22:42:31 +0200 Subject: [PATCH] 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. --- mediagoblin/media_types/audio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']} -- 2.25.1