Skip Menu |

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

Report information
The Basics
Id: 58395
Status: rejected
Priority: 0/
Queue: Audio-MPD

People
Owner: Nobody in particular
Requestors: rass [...] rassnet.org
Cc:
AdminCc:

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



Subject: collection handling
Date: Tue, 15 Jun 2010 08:51:56 +0200
To: <bug-Audio-MPD [...] rt.cpan.org>
From: <rass [...] rassnet.org>
Hi, I found one bug related to mpd version and collection handling. When I call $mpd->collection->all_artists or $mpd->collection->albums_by_artist it works okej in mpd-0.15.6. When I call "all_artists" or "albums_by_artist" in mpd-0.15.7, I get first empty element in array. When I call all_artists in mpd-0.15.10, I get first empty element in array. ( albums_by_artist works okej in mpd-0.15.10) For example: If I have just one album for artist, but albums_by_artist return two element, and first is empty. (mpd-0.15.7) or: In mpd-0.15.10 I have just 3 artists, but all_artists return four elements and first is empty. (mpd-0.15.10) I tested it with latest version: Audio::MPD class to talk to MPD (Music Player Daemon) servers Audio-MPD-1.100430***** (1 Reviews) - 12 Feb 2010 - Jerome Quelin Thanks, Rasto.
this comes from mpd itself: it is now returning all different strings found, including the empty ones (no tag) - whereas it used to trim those empty values before. this has been mentioned on mpd mailing list iirc. i think this is a more sensible thing to do, since you'll know that some files don't have a tag. moreover, it's easy to filter it out with grep. ==> i'm closing bug as wontfix if you agree thanks for the report.