Re: [ecasound] Re: Bug#285264: ecasound: playing of ogg files with spaces in names doesn't work

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Re: Bug#285264: ecasound: playing of ogg files with spaces in names doesn't work
From: Kai Vehmanen (kvehmanen_AT_eca.cx)
Date: Sun Dec 12 2004 - 22:03:09 EET


Hi,

On Sun, 12 Dec 2004, Junichi Uekawa wrote:
> I think changing the
> ext-cmd-ogg-input = ogg123 -d raw -o byteorder:%E --file=- %f
> ext-cmd-ogg-input = ogg123 -d raw -o byteorder:%E --file=- "%f"

this shouldn't be needed. I just tested with with 2.3.5 and the following
worked fine without any changes:

ecasound -i foo\ bar.ogg -o alsa
ecasound -i "foo bar.ogg" -o alsa
ecasound -i "foo bar\"in quotes\".ogg" -o alsa

Note that all quoting above is interpreted by the shell and never seen by
ecasound.

I did find one bug:

ecasound -i rtnull -o foo\ bar.ogg

This is fixed in CVS and will be included to 2.3.6/2.4.0.

>> Playing of ogg files with spaces in their names doesn't work. It
>> appears that ecasound is passing ogg123 a command line with the file
>> argument unescaped.
> fork_child_for_write calls
> kvu_string_to_tokens_quoted, which should be able to handle
> quotes, thus escaping the spaces.

This is not needed as ecasound calls ogg123 via exec() so shell is
not involved (no meta-char expanding).

-- 
 http://www.eca.cx
 Audio software for Linux!


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Dec 12 2004 - 22:03:23 EET