Bug#842810: mpv: Add missing MIME types to desktop file?

2016-11-01 Thread Petter Reinholdtsen

Package: mpv
Verison: 0.21.0-2

Hi.

I noticed mpv 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 mpv 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 mpv one.  I compare with the vlc desktop file because it
is the player with the most supported MIME types according to
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 mpv.desktop file:

application/vnd.ms-asf (x) 
application/x-quicktimeplayer (x) 
application/xspf+xml (x) 
audio/3gpp (x) 
audio/amr (x) 
audio/amr-wb (x) 
audio/x-gsm (x) 
audio/x-ms-wax (x) 
audio/x-pn-realaudio-plugin (x) 
video/dv (x) 
video/fli (x) 
video/mp4v-es (x) 
video/vnd.mpegurl (x) 
video/x-ms-wm (x) 
video/x-ms-wvx (x) 
application/mxf (x*) 
application/x-shockwave-flash (x*) 
audio/basic (x*) 
audio/midi (x*) 
audio/x-aiff (x*) 
video/3gpp (x*) 
audio/x-mod (*) 
audio/x-musepack (*) 
video/3gpp2 (*) 
video/x-flc (*) 
video/x-m4v (*) 
application/mpeg4-iod  
application/mpeg4-muxcodetable  
application/ram  
application/vnd.apple.mpegurl  
application/vnd.ms-wpl  
application/x-extension-m4a  
application/x-extension-mp4  
application/x-flac  
application/x-flash-video  
application/x-matroska  
application/x-quicktime-media-link  
audio/3gpp2  
audio/AMR-WB  
audio/dv  
audio/eac3  
audio/opus  
audio/vnd.dolby.heaac.1  
audio/vnd.dolby.heaac.2  
audio/vnd.dolby.mlp  
audio/vnd.dts  
audio/vnd.dts.hd  
audio/webm  
audio/x-it  
audio/x-matroska  
audio/x-ms-asf  
audio/x-ms-asx  
audio/x-pn-aiff  
audio/x-pn-au  
audio/x-pn-wav  
audio/x-pn-windows-acm  
audio/x-real-audio  
audio/x-s3m  
audio/x-speex  
audio/x-vorbis  
audio/x-xm  
image/vnd.rn-realpix  
misc/ultravox  
text/google-video-pointer  
text/x-google-video-pointer  
video/3gp  
video/divx  
video/flv  
video/mpeg-system  
video/vnd.divx  
video/x-anim  
video/x-mpeg-system  
video/x-ms-asf-plugin  
video/x-ms-asx  
video/x-nsv  
video/x-theora+ogg  
x-content/audio-cdda  
x-content/audio-player  
x-content/video-dvd  
x-content/video-svcd  
x-content/video-vcd  
x-scheme-handler/icy  
x-scheme-handler/icyx  
x-scheme-handler/mms  
x-scheme-handler/mmsh  
x-scheme-handler/rtmp  
x-scheme-handler/rtp  
x-scheme-handler/rtsp  

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

application/x-streamingmedia  
application/streamingmedia  
audio/rn-mpeg  
application/x-smil  
application/smil  
audio/x-pn-windows-pcm  
video/x-ms-wvxvideo  
video/x-ms-afs  
audio/x-pls  

-- 
Happy hacking
Petter Reinholdtsen



Bug#842810: mpv: Add missing MIME types to desktop file?

2016-11-01 Thread James Cowgill
Hi,

On 01/11/16 12:47, Petter Reinholdtsen wrote:
> Package: mpv
> Verison: 0.21.0-2
> 
> Hi.
> 
> I noticed mpv 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 mpv to play various audio and video formats when
> the user click on a media file.

Could you ask upstream directly?
https://github.com/mpv-player/mpv/issues/new

Thanks,
James



signature.asc
Description: OpenPGP digital signature


Bug#842810: mpv: Add missing MIME types to desktop file?

2016-11-01 Thread Petter Reinholdtsen
[James Cowgill]
> Could you ask upstream directly?

I'm sorry, but I do not not plan to spend the time to do so.  Other
tasks will take priority.  I already spent some time to fix my preferred
player vlc by working with upstream, and sent the MIME type difference
to the other players in Debian to make you aware of the situation and
give you an opportunity to address it if you want to.  Do with it as you
please. :)

-- 
Vennlig hilsen
Petter Reinholdtsen