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: Bug#285264: ecasound: playing of ogg files with spaces in names doesn't work
From: Frederik Eaton (frederik_AT_a5.repetae.net)
Date: Sun Dec 12 2004 - 10:29:39 EET


Interesting. Well, your solution works for escaping spaces, which is
good, but fails on files with " in their names, which is more common
than one might think (' is also common in song file names). Perhaps,
the "kvu_string..." function could be modified to expand quoted %
parameters specially? Alternatively, why not just always do
meta-escaping on %-parameters, are they ever used to provide more than
one command-line argument? Thanks,

Frederik

On Sun, Dec 12, 2004 at 03:44:29PM +0900, Junichi Uekawa wrote:
> Hi,
>
> 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"
>
> in .ecasoundrc might help.
>
>
> fork_child_for_write calls
> kvu_string_to_tokens_quoted, which should be able to handle
> quotes, thus escaping the spaces.
>
>
> regards,
> junichi
>
> > Package: ecasound
> > Version: 2.3.5-6
> > Severity: normal
> >
> >
> > 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.
> >
> > -- System Information:
> > Debian Release: 3.1
> > APT prefers unstable
> > APT policy: (500, 'unstable')
> > Architecture: i386 (i686)
> > Kernel: Linux 2.6.8-1-k7
> > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
> >
> > Versions of packages ecasound depends on:
> > ii libartsc0 1.3.1-1 aRts Sound system C support librar
> > ii libasound2 1.0.6-3 ALSA library
> > ii libaudiofile0 0.2.6-4 Open-source version of SGI's audio
> > ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
> > ii libgcc1 1:3.4.2-3 GCC support library
> > ii libglib2.0-0 2.4.7-1 The GLib library of C routines
> > ii libjack0.80.0-0 0.99.0-2 JACK Audio Connection Kit (librari
> > ii libncurses5 5.4-4 Shared libraries for terminal hand
> > ii libreadline4 4.3-14 GNU readline and history libraries
> > ii libsamplerate0 0.1.1-2 audio rate conversion library
> > ii libsndfile1 1.0.10-2 Library for reading/writing audio
> > ii libstdc++5 1:3.3.5-1 The GNU Standard C++ Library v3
> > ii python 2.3.4-4 An interactive high-level object-o
> > ii python-ecasound2.2 2.3.1-3 python binding files for ecasound
> >
> > -- no debconf information
> >
>


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 - 10:27:46 EET