From a1e299d60e135905e39358fe5dc1efcd64172daf Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Mon, 29 Jul 2013 16:50:29 -0500 Subject: [PATCH] Why isn't .ogg in this list? A comment explains... it's detected by sniffing! This commit sponsored by Tom Marble. Thanks Tom! --- mediagoblin/media_types/audio/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mediagoblin/media_types/audio/__init__.py b/mediagoblin/media_types/audio/__init__.py index 90f842ba..c7ed8d2d 100644 --- a/mediagoblin/media_types/audio/__init__.py +++ b/mediagoblin/media_types/audio/__init__.py @@ -19,6 +19,9 @@ from mediagoblin.media_types.audio.processing import process_audio, \ sniff_handler from mediagoblin.tools import pluginapi +# Why isn't .ogg in this list? It's still detected, but via sniffing, +# .ogg files could be either video or audio... sniffing determines which. + ACCEPTED_EXTENSIONS = ["mp3", "flac", "wav", "m4a"] MEDIA_TYPE = 'mediagoblin.media_types.audio' -- 2.25.1