Bug#842805: totem: Add missing MIME types to desktop file?

Bastien Nocera hadess at hadess.net
Wed Nov 2 15:59:36 UTC 2016


On Tue, 2016-11-01 at 13:33 +0100, Petter Reinholdtsen wrote:
> Package: totem
> Verison: 3.22.0-2
> 
> Hi.
> 
> I noticed totem do not list the same set of MIME types as vlc in its
> desktop file.  This causes the graphical file manager in the various
> desktops to not suggest totem to play various audio and video formats
> when the user click on a media file.
> 
> Here is the list of MIME types present in the vlc desktop file but
> missing in the totem one.  I compare with the vlc desktop file
> because
> it is the player with the most supported MIME types according to
> <URL: https://wiki.debian.org/DebianMultimedia/PlayerSupport >.  The
> MIME types marked (x) are official MIME types registered with the
> IANA
> MIME registry, and the ones marked (*) are MIME types returned by
> file
> --mime-type.
> 
> Please consider adding these MIME types to the totem.desktop file:
> 
> audio/amr (x) 
> audio/amr-wb (x) 

Those should be audio/AMR and audio/AMR-WB. They're both in totem.

> application/x-shockwave-flash (x*) 

We don't play .swf files.

> video/3gpp2 (*) 

Added

> application/mpeg4-iod  

That's from:
http://www.rfc-editor.org/rfc/rfc4337.txt
"Initial Object Descriptor". Never seen files like this, and I don't
know whether we support them.

> application/mpeg4-muxcodetable  

This is from:
https://tools.ietf.org/html/draft-singer-mpeg4-ip-00
and it looks like it's supposed to be handled through an SDP file. Not
sure we want the mux codetable as the entry point.

> application/vnd.rn-realmedia-vbr  

Added, and as an alias to application/vnd.rn-realmedia in shared-mime-
info.

> audio/3gpp2  

Added with the video version above.

> audio/aac  
> audio/dv  
> audio/eac3

All added

> audio/m4a  

Added along with the alias.

> audio/mp1  
> audio/mp3  
> audio/mpg  
> audio/opus  

Added.

> audio/scpls  

Added along with the alias.

> audio/vnd.dolby.heaac.1  
> audio/vnd.dolby.heaac.2  
> audio/vnd.dolby.mlp  
> audio/vnd.dts  
> audio/vnd.dts.hd  

I don't think we support those, and the first two should be added to
shared-mime-info beforehand if they're real mime-types.

> audio/wav  
> audio/webm  

Added

> audio/x-aac  

Added along with an alias.

> audio/x-mp1  
> audio/x-mp2  

Added.

> audio/x-mpg  

Added with an alias.

> audio/x-shorten  

Added with an alias.

> video/mpeg-system 

Added with an alias

>  
> video/x-mpeg-system  

Added with an alias too.

> video/x-ms-asf-plugin 

Shouldn't really be here, but added with an alias.

>  
> video/x-theora  

Added

> x-content/audio-cdda  
> x-content/audio-player  

We don't play data from music players or audio CDs.

> For the record, totem support the following MIME types that are not
> listed in the vlc.desktop file.  Perhaps you want to check if these
> are
> correct?

They're all correct.

> application/smil+xml (x) 
> audio/prs.sid (x) 
> video/vnd.vivo (x) 
> application/smil  
> application/x-netshow-channel  
> application/x-shorten  
> application/x-smil  
> audio/x-sbc  
> audio/x-stm  
> image/x-pict  
> video/vivo  
> video/x-flic  
> video/x-totem-stream  
> x-scheme-handler/net  
> x-scheme-handler/pnm  
> x-scheme-handler/uvox  

Let me know if you have particular questions about those, after
checking the totem and shared-mime-info repository logs beforehand.

Cheers



More information about the pkg-gnome-maintainers mailing list