Skip Menu |

This queue is for tickets about the Audio-MPD CPAN distribution.

Report information
The Basics
Id: 64412
Status: resolved
Priority: 0/
Queue: Audio-MPD

People
Owner: Nobody in particular
Requestors: cpbills [...] fauxtographer.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
not a bug according to reporter, cf https://rt.cpan.org/Ticket/Display.html?id=64413 (note: no need to open a 2nd bug to reply to the 1st one :-) )