Subject: | sort-of bug |
Date: | Mon, 3 Jan 2011 01:05:30 -0500 |
To: | bug-Audio-MPD [...] rt.cpan.org |
From: | "Bills, Christopher P." <cpbills [...] fauxtographer.net> |
in Song.pm $SEP is defined as ' = ', which may not always work as a
good separation string, in the instance of 'Radiohead - 2 + 2 = 5' for
example.
if you could make $SEP a non Readonly variable, and perhaps even allow
it to be set with '$mpd->separator('^_');' or something would be
awesome.
or, instead of joining the results, returning a hash reference would
work... i would be happy to help, but i am inexperienced with proper
project management and i'm not entirely sure how i would submit fixes
and the like...
changing the behavior from returning an array of strings to a hash
reference would likely break any other projects that depend on
Audio::MPD though, so maybe alternate function calls for hash refs...
thanks for the great project, i'm putting it to use to create yet
another mpd playlist generator using audio scrobbler similar artist /
track data.
cheers,
Chris
--
Christopher P. Bills
cpbills@fauxtographer.net
http://careers.stackoverflow.com/cpbills CV on stackoverflow.com
http://serverfault.com/users/42840/cpbills serverfault.com profile