Home | Trees | Indices | Help |
---|
|
object --+ | Entity --+ | Artist
Represents an artist.
Artists in MusicBrainz can have a type. Currently, this type can be either Person or Group for which the following URIs are assigned:
http://musicbrainz.org/ns/mmd-1.0#Person
http://musicbrainz.org/ns/mmd-1.0#Group
Use the TYPE_PERSON and TYPE_GROUP constants for comparison.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
TYPE_PERSON =
|
|
TYPE_GROUP =
|
Properties | |
type The artist's type. |
|
name The artist's name. |
|
sortName The artist's sort name. |
|
disambiguation The disambiguation comment. |
|
beginDate The begin/foundation date. |
|
endDate The death/dissolving date. |
|
aliases The list of aliases. |
|
releases The list of releases |
|
releasesOffset The offset of the release list. |
|
releaseGroups The list of release groups |
|
releaseGroupsOffset The offset of the release group list. |
|
releasesCount The total number of release groups |
|
Inherited from Inherited from |
Method Details |
Constructor.
|
Returns the artist's type.
|
Sets the artist's type.
|
Returns the artist's name.
|
Sets the artist's name.
|
Returns the artist's sort name. The sort name is the artist's name in a special format which is better suited for lexicographic sorting. The MusicBrainz style guide specifies this format. See Also: The MusicBrainz Style Guidelines |
Sets the artist's sort name.
See Also: getSortName |
Returns the disambiguation attribute. This attribute may be used if there is more than one artist with the same name. In this case, disambiguation attributes are added to the artists' names to keep them apart. For example, there are at least three bands named 'Vixen'. Each band has a different disambiguation in the MusicBrainz database, like 'Hip-hop' or 'all-female rock/glam band'.
See Also: getUniqueName |
Sets the disambiguation attribute.
See Also: getDisambiguation, getUniqueName |
Returns a unique artist name (using disambiguation). This method returns the artist name together with the disambiguation attribute in parenthesis if it exists. Example: 'Vixen (Hip-hop)'.
See Also: getDisambiguation |
Returns the birth/foundation date. The definition of the begin date depends on the artist's type. For persons, this is the day of birth, for groups it is the day the group was founded. The returned date has the format 'YYYY', 'YYYY-MM', or 'YYYY-MM-DD', depending on how much detail is known.
See Also: getType |
Sets the begin/foundation date.
See Also: getBeginDate |
Returns the death/dissolving date. The definition of the end date depends on the artist's type. For persons, this is the day of death, for groups it is the day the group was dissolved.
See Also: getBeginDate |
Sets the death/dissolving date.
See Also: setEndDate, getBeginDate |
Returns the list of aliases for this artist.
|
Adds an alias for this artist.
|
Returns a list of releases from this artist. This may also include releases where this artist isn't the main artist but has just contributed one or more tracks (aka VA-Releases).
|
Adds a release to this artist's list of releases.
|
Returns the offset of the release list. This is used if the release list is incomplete (ie. the web service
only returned part of the release for this artist). Note that the offset
value is zero-based, which means release
See Also: getReleases, getReleasesCount |
Sets the offset of the release list.
See Also: getReleasesOffset |
Returns the number of existing releases. This may or may not match with the number of elements that getReleases returns. If the count is higher than the list, it indicates that the list is incomplete.
See Also: setReleasesCount, getReleasesOffset |
Sets the number of existing releases.
See Also: getReleasesCount, setReleasesOffset |
Returns a list of release groups from this artist.
|
Adds a release group to this artist's list of release groups.
|
Returns the offset of the release group list. This is used if the release group list is incomplete (ie. the web
service only returned part of the result for this artist). Note that the
offset value is zero-based, which means release group
See Also: getReleaseGroups, getReleaseGroupsCount |
Sets the offset of the release group list.
See Also: getReleaseGroupsOffset |
Returns the number of existing release groups. This may or may not match with the number of elements that getReleaseGroups returns. If the count is higher than the list, it indicates that the list is incomplete.
See Also: setReleaseGroupsCount, getReleaseGroupsOffset |
Sets the number of existing release groups.
See Also: getReleaseGroupsCount, setReleaseGroupsOffset |
Property Details |
typeThe artist's type. |
nameThe artist's name. |
sortNameThe artist's sort name.
|
disambiguationThe disambiguation comment.
|
beginDateThe begin/foundation date.
|
endDateThe death/dissolving date.
|
aliasesThe list of aliases.
|
releasesThe list of releases
|
releasesOffsetThe offset of the release list.
|
releaseGroupsThe list of release groups
|
releaseGroupsOffsetThe offset of the release group list.
|
releasesCountThe total number of release groups
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Nov 19 22:07:31 2011 | http://epydoc.sourceforge.net |