Generic mime types: add video mime types that are supported by Jukebox

Extending the generic list will make those mime-types available in the
filter list (ObjectChooser, Journal). We have been extending the generic
list similarly before [1][2].

For the longer term fix see [3] to add support for custom mime types in
the ObjectChooser.

[1] http://bugs.sugarlabs.org/ticket/1319
[2] http://bugs.sugarlabs.org/ticket/1340
[3] http://bugs.sugarlabs.org/ticket/834

Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Simon Schampijer <simon@laptop.org>
This commit is contained in:
Manuel Kaufmann 2012-08-22 08:39:00 -03:00 committed by Simon Schampijer
parent 305384be3c
commit 478e208582

View File

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