Added m4v to list of media types and a comment stating we should
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 12 Mar 2012 18:38:22 +0000 (13:38 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 12 Mar 2012 18:38:22 +0000 (13:38 -0500)
autogenerate extension list

mediagoblin/media_types/video/__init__.py

index ed542f160065e93b296dc904f9f50d891c6a3589..579fdc6a64c372641940918466293ee86b4e7854 100644 (file)
@@ -23,5 +23,7 @@ MEDIA_MANAGER = {
                                 # 'mediagoblin.media_types.image.processing'?
     "display_template": "mediagoblin/media_displays/video.html",
     "default_thumb": "images/media_thumbs/video.jpg",
+    # TODO: This list should be autogenerated based on gst plugins
     "accepted_extensions": [
-        "mp4", "mov", "webm", "avi", "3gp", "3gpp", "mkv", "ogv", "ogg"]}
+        "mp4", "mov", "webm", "avi", "3gp", "3gpp", "mkv", "ogv", "ogg",
+        "m4v"]}