#538 Unable to play files with colon in their path

version_0.8.x
open
nobody
linux (114)
5
2012-11-23
2012-11-23
Anonymous
No

I am running SMPlayer 0.8.1 on openSUSE 12.2 x64 (distribution-supplied package). It seems that SMPlayer is unable to deal with colons in the file path:

> smplayer "/c:/foo/test.avi"
This is SMPlayer v. 0.8.1 running on Linux
> smplayer /c\:/foo/test.avi
This is SMPlayer v. 0.8.1 running on Linux

These commands open SMPlayer but the file doesn't start to play, the window title says "c:/foo/test.avi". It works fine with a symbolic link /c pointing to /c: or with relative paths:

> smplayer "/c/foo/test.avi"
This is SMPlayer v. 0.8.1 running on Linux
> cd "/c:/foo" && smplayer test.avi
This is SMPlayer v. 0.8.1 running on Linux

Calling MPlayer directly plays the video regardless of colons in the path.

Discussion