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

Simon Schampijer simon at schampijer.de
Wed Aug 22 08:39:38 EDT 2012


Hi Manuel,

so this request is about having those mime-types available in the filter 
list (objectchooser, Journal). We have been extending the generic list 
similarly before [1][2].

And we have the longstanding request to add support for custom mime 
lists in the objectchooser [3].

I think short term we can land your request with an enhanced 
description. If there is someone that want to work on a great 
enhancement, would be great to look at [3] and show us some code for the 
spec in the ticket :)

Regards,
   Simon

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


On 08/22/2012 01:39 PM, Manuel Kaufmann wrote:
> 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,
>



More information about the Sugar-devel mailing list