aMule Forum

English => aMule Help => Topic started by: libre on August 08, 2009, 01:15:02 AM

Title: mplayer preview fail with space into the filename
Post by: libre on August 08, 2009, 01:15:02 AM
I confugured the preview with "xterm -e mplayer". I try as explained into the wiki with "xterm -T "aMule's preview" -iconic -e mplayer - idx". I try with " xterm -T "aMule's preview" -iconic -e mplayer %f" and the problem is always the same:

The preview work fine with the parts files but fail with the fully downloaded files when they have "space(s)" into their filename. Is it some way to made this to work in any cases?
Title: Re: mplayer preview fail with space into the filename
Post by: Stu Redman on August 08, 2009, 12:58:14 PM
Have you tried
xterm -T "aMule's preview" -iconic -e mplayer "%f"
?
Title: Re: mplayer preview fail with space into the filename
Post by: libre on August 10, 2009, 01:26:35 PM
Have you tried
xterm -T "aMule's preview" -iconic -e mplayer "%f"
?
I should have think about this elementar shell quoting. Thanks, it work fine.