Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: mendor [...] yuuzukiyo.net
Cc:
AdminCc:

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



Subject: albumartist
Date: Mon, 26 Mar 2012 22:22:35 +0400
To: bug-Audio-MPD [...] rt.cpan.org
From: Mendor <mendor [...] yuuzukiyo.net>
Hello, The support of 'albumartist' tag has been added to mpd about two years ago, but the metod that may allow access to this tag hasn't been implemented to Audio::MPD. Have you plans to add it? -- Regards.
On Mon Mar 26 14:23:14 2012, mendor@yuuzukiyo.net wrote: Show quoted text
> The support of 'albumartist' tag has been added to mpd about two years > ago, but the metod that may allow access to this tag hasn't been > implemented to Audio::MPD. Have you plans to add it?
what needs to be implemented besides adding an albumartist method to audio::mpd::common::item::song (which i'll implement this week)?
Subject: Re: [rt.cpan.org #76057] albumartist
Date: Tue, 27 Mar 2012 15:47:25 +0400
To: bug-Audio-MPD [...] rt.cpan.org
From: Mendor <mendor [...] yuuzukiyo.net>
On 03/27/2012 02:20 PM, Jerome Quelin via RT wrote: Show quoted text
> what needs to be implemented besides adding an albumartist method to > audio::mpd::common::item::song (which i'll implement this week)?
Thank you very much. I would be very grateful to you if you add the possibility of Audio::MPD::Common::Item::Song->as_string method output customization, not only four predefined variants. -- Regards.
On Tue Mar 27 07:48:00 2012, mendor@yuuzukiyo.net wrote: Show quoted text
> Thank you very much. > I would be very grateful to you if you add the possibility of > Audio::MPD::Common::Item::Song->as_string method output customization, > not only four predefined variants.
v1.120880 on its way with new attribute album_artist and the possibility to control as_string with a format (eg: $song->as_string("%f") to always get the path). *** warning *** the format codes are not yet fixed in stone and may change if they do not prove the best match. your input is welcome on this subject. *** warning *** future release may see a new attribute "format" (or class attribute?) to prevent having to always specify the format, and allow easy stringification. can you tell me whether mpd uses albumartist or album_artist? (i just thought about that now that release is done :-) )
Subject: Re: [rt.cpan.org #76057] albumartist
Date: Wed, 28 Mar 2012 13:16:21 +0400
To: bug-Audio-MPD [...] rt.cpan.org
From: Mendor <mendor [...] yuuzukiyo.net>
On 03/28/2012 12:59 PM, Jerome Quelin via RT wrote: Show quoted text
> v1.120880 on its way with new attribute album_artist and the possibility > to control as_string with a format (eg: $song->as_string("%f") to always > get the path).
Oh, thank you very much! Show quoted text
> *** warning *** > the format codes are not yet fixed in stone and may change if they do > not prove the best match. your input is welcome on this subject. > *** warning *** > > future release may see a new attribute "format" (or class attribute?) to > prevent having to always specify the format, and allow easy stringification.
Perfect, thanks. I cannot suppose the better solution because I know that you are much more experienced developer and know more about modules useability :). Show quoted text
> can you tell me whether mpd uses albumartist or album_artist? (i just > thought about that now that release is done :-) )
The option used in actual mpd version is named "albumartist". Also, is it possible to add the other options for metadata that currently haven't appropriate methods? They are "performer" and "composer" ones. I think, it may be fine. -- Regards.
v1.120881 released with: - composer and performer attributes. - album_artist renamed as albumartist. note that as_string will stay as is, what may change is the tag used for a given attribute. ag, in the future, %t might not relate to title, but to track. or whatever other similar change.