MusicBrainz Identifier: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
m (mention MBID's permanentness)
m (Moved John Williams to a disambiguation example)
Line 1: Line 1:
One of MusicBrainz' aims is to be the universal lingua franca for music by providing a reliable and unambiguous form of music identification; this music identification is performed through the use of MusicBrainz Identifiers (MBIDs).
One of MusicBrainz' aims is to be the universal lingua franca for music by providing a reliable and unambiguous form of music identification; this music identification is performed through the use of MusicBrainz Identifiers (MBIDs).


In a nutshell, an MBID is a 36 character [[wikipedia:Universally Unique Identifier|Universally Unique Identifier]] that is permanently assigned to each entity in the database, i.e. [[Artist|artists]], [[Release Group|release groups]], [[Release|releases]], [[Track|tracks]], and [[Label|labels]]. For example, the artist [[Artist:53b106e7-0cc6-42cc-ac95-ed8d30a3a98e|John Williams]] has an artist MBID of <code>53b106e7-0cc6-42cc-ac95-ed8d30a3a98e</code> and his [[Release:fff250bd-6c12-4f11-ab9e-a84568a74afb|Greatest Hits 1969-1999]] compilation has a release MBID of <code>fff250bd-6c12-4f11-ab9e-a84568a74afb</code>.
In a nutshell, an MBID is a 36 character [[wikipedia:Universally Unique Identifier|Universally Unique Identifier]] that is permanently assigned to each entity in the database, i.e. [[Artist|artists]], [[Release Group|release groups]], [[Release|releases]], [[Track|tracks]], and [[Label|labels]]. For example, the artist [[Artist:0383dadf-2a4e-4d10-a46a-e9e041da8eb3|Queen]] has an artist MBID of <code>53b106e7-0cc6-42cc-ac95-ed8d30a3a98e</code>, and their song [[Track:ebf79ba5-085e-48d2-9eb8-2d992fbf0f6d|Bohemian Rhapsody]] has a track MBID of <code>ebf79ba5-085e-48d2-9eb8-2d992fbf0f6d</code>.


== Using MusicBrainz Idenfiers ==
== Using MBIDs for disambiguation ==

MBIDs are used to disambiguate between entities that share the same name in the [[MusicBrainz Database]].

For example, there are two popular artists with the name "John Williams":
* [[Artist:53b106e7-0cc6-42cc-ac95-ed8d30a3a98e|John Williams]], the soundtrack composer and conductor, has an artist MBID of <code>53b106e7-0cc6-42cc-ac95-ed8d30a3a98e</code>
* [[Artist:8b8a38a9-a290-4560-84f6-3d4466e8d791|John Williams]], the classical guitar player, has an artist MBID of <code>8b8a38a9-a290-4560-84f6-3d4466e8d791</code>

And there are two different singles titled "99 Red Balloons":
* [[Release:189002e7-3285-4e2e-92a3-7f6c30d407a2|99 Red Balloons]], the original by [[Artist:c954d136-c7fd-4fd9-8bb0-fb0491fc6a02|Nena]], has a release MBID of <code>189002e7-3285-4e2e-92a3-7f6c30d407a2</code>
* [[Release:c9f91cdc-984e-4303-9a51-4ac0dfa2348f|99 Red Balloons]], the cover by [[Artist:87fc1871-b74e-4bf5-a00d-8a89c288008b|Goldfinger]], has a release MBID of <code>c9f91cdc-984e-4303-9a51-4ac0dfa2348f</code>

== Using MBIDs in applications ==


MBIDs play an important role when managing a digital music collection and there are several applications that are [[MusicBrainz Enabled Applications|MusicBrainz enabled]].
MBIDs play an important role when managing a digital music collection and there are several applications that are [[MusicBrainz Enabled Applications|MusicBrainz enabled]].
Line 26: Line 38:
== Uniform Resource Identifier ==
== Uniform Resource Identifier ==


URIs can be constructed by prefixing the MBID with the address of the MusicBrainz server and the entity type, for example [[Artist:53b106e7-0cc6-42cc-ac95-ed8d30a3a98e|John Williams']] URI becomes http://musicbrainz.org/artist/53b106e7-0cc6-42cc-ac95-ed8d30a3a98e.html, and [[Release:fff250bd-6c12-4f11-ab9e-a84568a74afb|Greatest Hits 1969-1999's]] URI becomes http://musicbrainz.org/release/fff250bd-6c12-4f11-ab9e-a84568a74afb.html.
URIs can be constructed by prefixing the MBID with the address of the MusicBrainz server and the entity type, for example [[Artist:0383dadf-2a4e-4d10-a46a-e9e041da8eb3|Queen's]] URI becomes http://musicbrainz.org/artist/0383dadf-2a4e-4d10-a46a-e9e041da8eb3.html, and [[Track:ebf79ba5-085e-48d2-9eb8-2d992fbf0f6d|Bohemian Rhapsody's]] URI becomes http://musicbrainz.org/track/ebf79ba5-085e-48d2-9eb8-2d992fbf0f6d.html.


== See also ==
== See also ==

Revision as of 06:32, 27 June 2010

One of MusicBrainz' aims is to be the universal lingua franca for music by providing a reliable and unambiguous form of music identification; this music identification is performed through the use of MusicBrainz Identifiers (MBIDs).

In a nutshell, an MBID is a 36 character Universally Unique Identifier that is permanently assigned to each entity in the database, i.e. artists, release groups, releases, tracks, and labels. For example, the artist Queen has an artist MBID of 53b106e7-0cc6-42cc-ac95-ed8d30a3a98e, and their song Bohemian Rhapsody has a track MBID of ebf79ba5-085e-48d2-9eb8-2d992fbf0f6d.

Using MBIDs for disambiguation

MBIDs are used to disambiguate between entities that share the same name in the MusicBrainz Database.

For example, there are two popular artists with the name "John Williams":

  • John Williams, the soundtrack composer and conductor, has an artist MBID of 53b106e7-0cc6-42cc-ac95-ed8d30a3a98e
  • John Williams, the classical guitar player, has an artist MBID of 8b8a38a9-a290-4560-84f6-3d4466e8d791

And there are two different singles titled "99 Red Balloons":

Using MBIDs in applications

MBIDs play an important role when managing a digital music collection and there are several applications that are MusicBrainz enabled.

Taggers

Multiple MBIDs may be written to a file by a MusicBrainz enabled tagger application. They are commonly used to identify:

For more information, read the MusicBrainz tag specification.

Music players

Music player applications can take advantage of a file that has been tagged with MBIDs to do things such as:

  • query the MusicBrainz Database for further information about the file or related entities
  • reliably search for related files based on a unique string, instead of by potentially ambiguous strings such as artist name or release title

Uniform Resource Identifier

URIs can be constructed by prefixing the MBID with the address of the MusicBrainz server and the entity type, for example Queen's URI becomes http://musicbrainz.org/artist/0383dadf-2a4e-4d10-a46a-e9e041da8eb3.html, and Bohemian Rhapsody's URI becomes http://musicbrainz.org/track/ebf79ba5-085e-48d2-9eb8-2d992fbf0f6d.html.

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.