We currently use %U as argument to the Exec entry to indicate that gmplayer

handles URLs. However, gmplayer fails to open files with spaces in the
filename when launched from a file manager in this way. Changing %U to %F
works around this issue successfully while still working with URLs.
While this may not be a completely satisfactory solution, it is already
deployed in distributions and a better solution is unlikely to appear.
patch by Andrew Strong, andrew.david.45 gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26306 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-03-31 16:20:08 +00:00
parent 2b2792565e
commit 5d3fa363cc
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ Comment[fr]=Lecteur multimédia
Comment[it]=Lettore multimediale
Icon=mplayer.xpm
TryExec=gmplayer
Exec=gmplayer %U
Exec=gmplayer %F
Terminal=false
Categories=GTK;AudioVideo;Audio;Video;Player;TV;
MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-theora;video/x-matroska;