23 Mar 2006 00:21
Re: Mishandling of weird characters in file arguments?
David M Good <akabigbro <at> yahoo.com>
2006-03-22 23:21:16 GMT
2006-03-22 23:21:16 GMT
Couldn't you just quote the file: ecasound -i:"file,name,here.mp3" DAVE --- Kai Vehmanen <kvehmanen <at> eca.cx> wrote: > Hello, > > On Wed, 22 Feb 2006, icosa atropa wrote: > > > I'm using ecasound v2.4.2, packaged with > Ubuntu breezy; I took a peak > [...] > > Ecasound dependably chokes on files > containing weird characters, > > commas in particular. > [...] > >> ecasound -i > "snip/22-Drum_Machine,_Cello,_Headwrap.mp3" > >> ecasound -i > snip/22-Drum_Machine\,_Cello\,_Headwrap.mp3 > >> ecasound -i > snip/22-Drum_Machine,_Cello,_Headwrap.mp3 > > do *not* work, failing with the comment > > "Audio object 'snip/22-Drum_Machine' does not > match ..." > > yeps, this is unfortunately true. Most of the > filename handling bugs are > fixed, but this comma issue still persists (and > actually is mentioned in > the BUGS file). > > But this should really be fixed. The problem is > that ecasound uses commas > to separate the arguments, and escaping is > handled before the tokens are > given to the parser (so the parser can't > separate filename commas from > param separator commas). So it's a little bit > more work... I added a > sf.net ticket for this so it's not forgotten: > > http://sourceforge.net/tracker/index.php?func=detail&aid=1456510&group_id=4605&atid=104605 > > > The bummer is that " -i snip/*.mp3" fails for > the whole directory, and > > there's no direct protection that I can think > of ( though I haven't > > yet fully plumbed bash's "for i in" idiom) > > This won't work - you can only specify one file > with a single '-i'. You > can have multiple files in a session, but then > you have to additionally > specify how they are to be connected. > > If you just want to play bunch of files, use > for example: > > sh> ecaplay *.mp3 > > -- > links, my public keys, etc at > http://eca.cx/kv > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > that extends applications into web and mobile > media. Attend the live webcast > and join the prime developer group breaking > into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Ecasound-list mailing list > Ecasound-list <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ecasound-list > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Ecasound-list mailing list Ecasound-list <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecasound-list
RSS Feed