Why isn't .ogg in this list? A comment explains... it's detected by sniffing!

This commit sponsored by Tom Marble.  Thanks Tom!
This commit is contained in:
Christopher Allan Webber 2013-07-29 16:50:29 -05:00
parent 130b85f81a
commit a1e299d60e

View File

@ -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'