changeset 26274:415bec20d8d0

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
author diego
date Mon, 31 Mar 2008 16:20:08 +0000
parents 8c92e7e4ccd9
children b27a43ba49d8
files etc/mplayer.desktop
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/mplayer.desktop	Mon Mar 31 04:10:54 2008 +0000
+++ b/etc/mplayer.desktop	Mon Mar 31 16:20:08 2008 +0000
@@ -10,7 +10,7 @@
 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;