Bug #320

Command line client can't handle spaces in filenames

Added by Jeff Davis about 2 years ago. Updated almost 2 years ago.

Status:Feedback Start Date:03/09/2010
Priority:Normal Due date:
Assigned to:Adrian Stutz % Done:

0%

Category:mplayer_binaries
Target version:rev13

Description

Command line client does not parse spaces in filenames properly. I get the same error enclosing the filename in single quotes, enclosing in double quotes, and escaping spaces with backslashes:

twirlip@twirlip:~$ mplayer has\ space.aiff
MPlayer SVN-r30478-4.2.1 (C) 2000-2010 MPlayer Team

Playing has.
File not found: 'has'
Failed to open has.

Playing space.aiff.
File not found: 'space.aiff'
Failed to open space.aiff.

Exiting... (End of file)

Files without spaces in the filename play without any trouble. Other applications on the system can handle properly quoted or escaped filenames.

This is a fresh install of MPlayer OSX Extended rev13 on OS X 10.6.2.

History

Updated by Bilal Hussain about 2 years ago

Works files on my mac using OSX 10.6.2 using MPlayer OSX Extended rev13, Try putting name in quotes,
mplayer "has space.aiff"

Updated by Adrian Stutz about 2 years ago

  • Category set to mplayer_binaries
  • Status changed from New to Feedback
  • Assigned to set to Adrian Stutz

You example works fine for me (rev13 on 10.6.2):

coil:MacOS adrian$ ./mplayer has\ space.aiff
MPlayer SVN-r30478-4.2.1 (C) 2000-2010 MPlayer Team

Playing has space.aiff.
File not found: 'has space.aiff'
Failed to open has space.aiff.

Exiting... (End of file)

Also available in: Atom PDF