[Sugar-devel] [PATCH sugar-toolkit-gtk3] Video Mime types

Manuel Kaufmann humitos at gmail.com
Wed Aug 22 07:39:00 EDT 2012


Added more mime types that are supported by Jukebox

Signed-off-by: Manuel Kaufmann <humitos at gmail.com>
---
 src/sugar3/mime.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/sugar3/mime.py b/src/sugar3/mime.py
index 448585e..07d085e 100644
--- a/src/sugar3/mime.py
+++ b/src/sugar3/mime.py
@@ -65,7 +65,13 @@ _generic_types = [
     'id': GENERIC_TYPE_VIDEO,
     'name': _('Video'),
     'icon': 'video-x-generic',
-    'types': ['video/ogg', 'application/ogg', 'video/x-theora+ogg'],
+    'types': ['video/ogg', 'application/ogg', 'video/x-theora+ogg',
+              'video/x-theora', 'video/x-mng', 'video/mpeg4',
+              'video/mpeg-stream', 'video/mpeg', 'video/mpegts', 'video/mpeg2',
+              'video/mpeg1', 'video/x-cdxa', 'video/x-ogm+ogg', 'video/x-flv',
+              'video/mp4', 'video/x-matroska', 'video/x-msvideo',
+              'application/x-ogm-video', 'video/quicktime', 'video/x-quicktime'
+              'video/avi'],
 },
 {
     'id': GENERIC_TYPE_LINK,
-- 
1.7.11.4



More information about the Sugar-devel mailing list