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.
coverart
Returns a string containing the URL to the Amazon.com images server for the album if one is available, otherwise returns undef
.
asin
Returns the ASIN for the album specified in this Album object. ASIN stands for Amazon Standard Identification Number. It is a unique identifier for a product on amazon.com. This value can be used for constructing links into the Amazon website for providing affiliate referrals or for retrieving images or other information.
MusicBrainz only has ASIN values for a subset of all the albums in their database, so this property will quite possibly be undef
if MusicBrainz cannot provide a value.
releaseDateList
Return a hash ref of release dates where the keys are country codes and the values are dates of release in the respective countries. Will return undef
if MusicBrainz does not respond to the query with this information.
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.
track(index)
returns a AudioFile::Identify::MusicBrainz::Track
object for the track with the give track number.