Subject: | Audio MPD problem with double quotes |
Date: | Fri, 7 Sep 2007 18:48:40 -0700 |
To: | bug-Audio-MPD [...] rt.cpan.org |
From: | David Bitseff <bitsed [...] u.washington.edu> |
Hi,
I have some songs in mpd that contain double quotes in the path name for the
file. Passing these paths to the Audio::MPD::Collection::all_items or
Audio::MPD::Playlist::add methods makes mpd return an error about too many
arguments or an unknown path. I've been performing a substitution on the
path before passing it to the methods, but this makes the interface to the
module more difficult to use. I think this may be a bug in the Audio::MPD
modules.
I've attached a patch that helps with these two functions, but there could be
similar problems elsewhere.
I'm using:
Audio-MPD-0.18.1
perl v5.8.8 built for i686-linux
Message body is not shown because sender requested not to inline it.