Difference between revisions of "MusicBrainz Identifier"

From MusicBrainz Wiki
(Another rewrite)
(let's be accurate: MBID != UUID)
Line 1: Line 1:
 
One of MusicBrainz' most fundamental purposes is to enable people and computers to have meaningful conversations about music; however, to truly have a meaningful conversation all involved parties must be able to reliably and unambiguously identify what is being discussed. To this end, MusicBrainz assigns a unique MusicBrainz Identifier (MBID), to all [[Artist|artists]], [[Release Group|release groups]], [[Release|releases]], [[Track|tracks]], and [[Label|labels]] in the [[MusicBrainz Database|MusicBrainz Database]], and uses these MBIDs as a universal [[wikipedia:lingua franca|lingua franca]] for music. These MBIDs, aside from being unique to the specific entity it is associated with, are also a permanent identifier for that entity for as long the entity exists.
 
One of MusicBrainz' most fundamental purposes is to enable people and computers to have meaningful conversations about music; however, to truly have a meaningful conversation all involved parties must be able to reliably and unambiguously identify what is being discussed. To this end, MusicBrainz assigns a unique MusicBrainz Identifier (MBID), to all [[Artist|artists]], [[Release Group|release groups]], [[Release|releases]], [[Track|tracks]], and [[Label|labels]] in the [[MusicBrainz Database|MusicBrainz Database]], and uses these MBIDs as a universal [[wikipedia:lingua franca|lingua franca]] for music. These MBIDs, aside from being unique to the specific entity it is associated with, are also a permanent identifier for that entity for as long the entity exists.
  
In a nutshell, an MBID is a 36 character [[wikipedia:Universally Unique Identifier|Universally Unique Identifier]], for example <code>53b106e7-0cc6-42cc-ac95-ed8d30a3a98e</code> is the artist MBID for [[Artist:53b106e7-0cc6-42cc-ac95-ed8d30a3a98e|John Williams]].
+
A MusicBrainz Identifier is an absolute URI. It has the form <code><nowiki>http://musicbrainz.org/ENTITY/UUID</nowiki></code>, where <code>ENTITY</code> is the type of the music resource (<code>artist</code>, <code>release-group</code>, <code>release</code>, <code>track</code> or <code>label</code>) and <code>UUID</code> is a Universally Unique Identifier in its 36 character ASCII representation.
 +
In situations where the context is clear (such as file tags), just the UUID part can be used, leaving a relative URI.
 +
 
 +
For example <code><nowiki>http://musicbrainz.org/artist/53b106e7-0cc6-42cc-ac95-ed8d30a3a98e</nowiki></code> is the absolute URI of the MusicBrainz Identifier for [[Artist:53b106e7-0cc6-42cc-ac95-ed8d30a3a98e|John Williams]], and <code>53b106e7-0cc6-42cc-ac95-ed8d30a3a98e</code> is its relative URI.
  
 
== Using MusicBrainz Identifiers ==
 
== Using MusicBrainz Identifiers ==
Line 20: Line 23:
  
 
Each musical entity that is assigned an MBID also has a permanent unique URI that can be constructed from that MBID to identify and find more information about a given music resource.
 
Each musical entity that is assigned an MBID also has a permanent unique URI that can be constructed from that MBID to identify and find more information about a given music resource.
* Artist MBIDs have a canonical URI in the form of <code><nowiki>http://musicbrainz.org/artist/<MBID>.html</nowiki></code>.
+
* Artist MBIDs have a canonical URI in the form of <code><nowiki>http://musicbrainz.org/artist/<MBID></nowiki></code>.
* Label MBIDs have a canonical URI in the form of <code><nowiki>http://musicbrainz.org/label/<MBID>.html</nowiki></code>.
+
* Label MBIDs have a canonical URI in the form of <code><nowiki>http://musicbrainz.org/label/<MBID></nowiki></code>.
* Release MBIDs have a canonical URI in the form of <code><nowiki>http://musicbrainz.org/release/<MBID>.html</nowiki></code>.
+
* Release MBIDs have a canonical URI in the form of <code><nowiki>http://musicbrainz.org/release/<MBID></nowiki></code>.
* Release group MBIDs have a canonical URI in the form of <code><nowiki>http://musicbrainz.org/release-group/<MBID>.html</nowiki></code>.
+
* Release group MBIDs have a canonical URI in the form of <code><nowiki>http://musicbrainz.org/release-group/<MBID></nowiki></code>.
* Track MBIDs have a canonical URI in the form of <code><nowiki>http://musicbrainz.org/track/<MBID>.html</nowiki></code>.
+
* Track MBIDs have a canonical URI in the form of <code><nowiki>http://musicbrainz.org/track/<MBID></nowiki></code>.
  
 
== See also ==
 
== See also ==

Revision as of 09:09, 26 February 2010

One of MusicBrainz' most fundamental purposes is to enable people and computers to have meaningful conversations about music; however, to truly have a meaningful conversation all involved parties must be able to reliably and unambiguously identify what is being discussed. To this end, MusicBrainz assigns a unique MusicBrainz Identifier (MBID), to all artists, release groups, releases, tracks, and labels in the MusicBrainz Database, and uses these MBIDs as a universal lingua franca for music. These MBIDs, aside from being unique to the specific entity it is associated with, are also a permanent identifier for that entity for as long the entity exists.

A MusicBrainz Identifier is an absolute URI. It has the form http://musicbrainz.org/ENTITY/UUID, where ENTITY is the type of the music resource (artist, release-group, release, track or label) and UUID is a Universally Unique Identifier in its 36 character ASCII representation. In situations where the context is clear (such as file tags), just the UUID part can be used, leaving a relative URI.

For example http://musicbrainz.org/artist/53b106e7-0cc6-42cc-ac95-ed8d30a3a98e is the absolute URI of the MusicBrainz Identifier for John Williams, and 53b106e7-0cc6-42cc-ac95-ed8d30a3a98e is its relative URI.

Using MusicBrainz Identifiers

Tagging applications

MBIDs play an important role when tagging music files with metadata with any of the various MusicBrainz Taggers.

When writing metadata, a MusicBrainz enabled tagger application will write several different MBIDs to each file, one for each of the following:

See MusicBrainz Tag for more detailed information.

Uniform Resource Identifier

Each musical entity that is assigned an MBID also has a permanent unique URI that can be constructed from that MBID to identify and find more information about a given music resource.

  • Artist MBIDs have a canonical URI in the form of http://musicbrainz.org/artist/<MBID>.
  • Label MBIDs have a canonical URI in the form of http://musicbrainz.org/label/<MBID>.
  • Release MBIDs have a canonical URI in the form of http://musicbrainz.org/release/<MBID>.
  • Release group MBIDs have a canonical URI in the form of http://musicbrainz.org/release-group/<MBID>.
  • Track MBIDs have a canonical URI in the form of http://musicbrainz.org/track/<MBID>.

See also

There are several other identifiers that MusicBrainz uses:

  • Disc ID: An ID calculated from the TOC of a CD.
  • PUID: The IDs used in the proprietary MusicDNS audio fingerprinting system operated by MusicIP.
  • Barcode: Machine-readable numbers used as stock control mechanisms by retailers.
  • ISRC: The International Standard Recording Code, an identification system for audio and music video recordings.