man MusicBrainz::Client::Simple::Album () - MusicBrainz Album Information
NAME
MusicBrainz::Client::Simple::Album - MusicBrainz Album Information
SYNOPSIS
DESCRIPTION
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, CWundef 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), CWundef 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, CWundef is returned.
EXPORT
None by default.
SEE ALSO
MusicBrainz::Client::Simple MusicBrainz::Client::Simple::Artist MusicBrainz::Client::Simple::Track MusicBrainz::Client http://www.musicbrainz.org perl(1)
AUTHORS
Matthias Friedrich, <matt@mafr.de> Sander van Zoest, <svanzoest@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2003 by Matthias Friedrich <matt@mafr.de> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.