aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: mplayer preview fail with space into the filename  (Read 3068 times)

libre

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
mplayer preview fail with space into the filename
« 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?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: mplayer preview fail with space into the filename
« Reply #1 on: August 08, 2009, 12:58:14 PM »

Have you tried
xterm -T "aMule's preview" -iconic -e mplayer "%f"
?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

libre

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
Re: mplayer preview fail with space into the filename
« Reply #2 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.
Logged