---
name: "MusicBrainz::Client::Simple::Album"
section: "3pm"
platform: "linux"
package: "libmusicbrainz-client-perl"
version: "0.11-2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/MusicBrainz::Client::Simple::Album"
---

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

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, `"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.

## 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.
