Class MusicBrainz::Model::ReleaseGroup
In: lib/rbrainz/model/release_group.rb
Parent: Entity

A release group in the MusicBrainz DB.

A release group within MusicBrainz is an Entity which groups several different versions of releases (e.g. different editions of the same album).

See:wiki.musicbrainz.org/Release_Groups

Methods

new   to_s  

Constants

TYPE_NONE = NS_MMD_1 + 'None'   A type for not a type. Currently unsupported by MusicBrainz
TYPE_NON_ALBUM_TRACKS = NS_MMD_1 + 'NonAlbum Track'   Special type for release groups that hold non-album track releases.
TYPE_ALBUM = NS_MMD_1 + 'Album'   An album, perhaps better defined as a "Long Play" (LP) release, generally consists of previously unreleased material. This includes release re-issues, with or without bonus tracks.
TYPE_AUDIOBOOK = NS_MMD_1 + 'Audiobook'   An audiobook is a book read by a narrator without music.
TYPE_COMPILATION = NS_MMD_1 + 'Compilation'   A compilation is a collection of previously released tracks by one or more artists. Please note that this is a simplified description of a compilation.
TYPE_EP = NS_MMD_1 + 'EP'   An EP is a so-called "Extended Play" release and often contains the letters EP in the title.
TYPE_INTERVIEW = NS_MMD_1 + 'Interview'   An interview release contains an interview, generally with an Artist.
TYPE_LIVE = NS_MMD_1 + 'Live'   A release that was recorded live.
TYPE_REMIX = NS_MMD_1 + 'Remix'   A release that primarily contains remixed material.
TYPE_SINGLE = NS_MMD_1 + 'Single'   A single typically has one main song and possibly a handful of additional tracks or remixes of the main track. A single is usually named after its main song.
TYPE_SOUNDTRACK = NS_MMD_1 + 'Soundtrack'   A soundtrack is the musical score to a movie, TV series, stage show, computer game etc.
TYPE_SPOKENWORD = NS_MMD_1 + 'Spokenword'   Non-music spoken word releases.
TYPE_OTHER = NS_MMD_1 + 'Other'   Any release that does not fit or can‘t decisively be placed in any of the categories above.

Attributes

artist  [RW]  The artist of this release group.
releases  [R]  A Collection of releases in this release group.
title  [RW]  The title of this release group.
types  [R]  The list of types for this release.

To test for release types, you can use the constants TYPE_ALBUM, TYPE_SINGLE, etc.

Public Class methods

Public Instance methods

Returns the string representation for this release group.

Returns title converted into a string.

[Validate]