MusicBrainz::Client::Simple::Album(3pm)

MusicBrainz::Client::Simple::Album3pm

Musicbrainz album information

Overview

MusicBrainz::Client::Simple::Album is a class providing access to album information.

Constructor

Users of this class need no constructor. Instances are made available through MusicBrainz::Client::Simple.

Methods

get_artist()

Returns a MusicBrainz::Client::Simple::Artist object that contains artist information for this album.

See also: has_various_artists

get_id()

Returns the AlbumID that uniquely identifies this album at MusicBrainz.

get_name()

Returns the album's name.

get_release_status()

Returns the release status of this album. Possible values are "Official", "Promotion" and "Bootleg". If this information is not available, "undef" is returned.

See also: get_release_type

get_release_dates()

Returns a hash with release dates. Keys are two-letter country codes, values are dates as strings. A date string can be of the format "YYYY-MM-DD", "YYYY-MM" or "YYYY".

get_tracks()

Returns a list of MusicBrainz::Client::Simple::Track objects, one for each track on this album.

get_release_type()

Returns the release type of this album. Possible values are "Album", "Single", "EP", "Compilation", "Soundtrack", "Spokenword", "Interview", "Audiobook", "Live", "Remix" and "Other". If this information is not available (not all albums in the MusicBrainz database have a release type yet), "undef" is returned.

See also: get_release_status

has_various_artists()

Returns true if this is a various artists album and false otherwise.

get_amazon_asin()

Returns the Amazon.com shop identifier (ASIN) for this album. If there is none, "undef" is returned.

Export

None by default.

Authors

 Matthias Friedrich, <[email protected]>
 Sander van Zoest, <[email protected]>

From libmusicbrainz-client-perl 0.11-2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.