It seems that the issue here is the handling of urlencoded filenames. When I
try
to play a URL without urlencoded (%xx) characters, it opens, but not with
urlencoded characters.
smplayer file:///tmp/Inception.avi works;
smplayer file:///home/sikon/%D0%92%D0%B8%D0%B4%D0%B5%D0%BE/156625.avi
I could not reproduce this bug with thunar 1.2.1-3ubuntu1 and smplayer 0.6.9-1
under Ubuntu Natty.
I suspect the bug was fixed in Thunar 1.2.x. I'll test under unstable, which
has
1.0.x. In either case, I think it's a bug in Thunar rather than SMPlayer, and
doesn't warrant a change from %U to
I resend patch, my mailer ate spaces from previous attempt.
diff -ur smplayer-0.6.9-orig/src/smplayer.cpp smplayer-0.6.9/src/smplayer.cpp
--- smplayer-0.6.9-orig/src/smplayer.cpp2010-01-21 03:52:42.0
+0300
+++ smplayer-0.6.9/src/smplayer.cpp 2011-01-04 20:34:36.0
The dev of smplayer says it's fixed in svn r3532
I have no time to test it currently.
Could anyone else verfiy it?
I'm facing the same bug, but that r3532 doesn't solve it for me.
--- src/core.cpp (revision 3531)
+++ src/core.cpp (revision 3532)
@@ -21,6 +21,7 @@
#include QFileInfo
#include
Package: smplayer
Version: 0.6.9-1
Severity: important
The smplayer.desktop file has this entry:
Exec=smplayer %U
which leads to the problem that opening files from thunar (right click
= open file with) will not work
if there are spaces in the filename.
Changing it back to:
Exec=smplayer %f