NAME

AudioFile::Identify::MusicBrainz::Album

DESCRIPTION

MusicBrainz 'Album' object.

METHODS

title

get/set the title of the album. Pass a string or an XML::DOM::Node object to set.

cdindexIdList

yeah, well. The documentation has this to say about the cdindexIdList property:

This property is used to describe a list of CD Index ids in an album.

BRILLIANT. That's really helpful, thanks guys. Anyone know what this is?

creator

get/set the 'dc:creator' resource property. This describes the albums 'artist', insofarasmuch as albums can have artists. Don't use this to get the artist; the artist method will return a AudioFile::Identify::MusicBrainz::Artist object, assuming this resource is in the store, which it should be.

artist

return the AudioFile::Identify::MusicBrainz::Artist object that is the returned artist for this album. May be the 'Various Artists' object.

releaseType

get/set the releaseType property

releaseStatus

get/set the releaseStatus property

trackList

called by parse, this will extract a list of tracks from an XML::DOM::Node and build AudioFile::Identify::MusicBrainz::Track object from them, put them in the store, and build an internal array for track order. To get the tracks back, use the track or tracks method.

tracks

returns a listref of AudioFile::Identify::MusicBrainz::Track object, in track order for the album.

tracks(index)

returns a AudioFile::Identify::MusicBrainz::Track object for the track with the give track number.