Barcode: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(switched 'Reasons for Adding Barcodes' and 'Finding' sections)
(→‎Definition: Mention the umbrella format GTIN for EAN/UPC)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DocumentationHeader|Release|Terminology}}

==Definition==
==Definition==


Barcodes are machine-readable numbers used as stock control mechanisms by retailers: as such they are highly standardised and well recognised, and form an invaluable identifier for communication between companies.
[[wikipedia:Barcode|Barcodes]] are numbers used as stock control mechanisms by retailers: as such they are highly standardised and well recognised, and form an invaluable identifier for communication between companies.


On physical releases, they usually appear in the form of a machine-readable series of black and white bars, hence the name "barcode".
There are many different types of barcode but the usual ones are [[wikipedia:Global Trade Item Number|Global Trade Item Numbers]] (GTINs). The most common types of GTIN are:

On digital releases, they appear in numerical form and might be embedded in metadata of downloaded files, returned by an [[wikipedia:API|API]], hidden in the HTML source of a digital service provider or are part of a [[wikipedia:URL|URL]].

There are many different types of barcode, but the ones usually found on music releases are two:


* [[wikipedia:Universal_Product_Code|Universal Product Code]] (UPC), which is the original barcode used in North America. They are 12 digits long, but any number of zeros at the start can be left off, so the actual printed barcode can be shorter than this.
* [[wikipedia:Universal_Product_Code|Universal Product Code]] (UPC), which is the original barcode used in North America. They are 12 digits long, but any number of zeros at the start can be left off, so the actual printed barcode can be shorter than this.
* [[wikipedia:European_Article_Number|European Article Number]] (EAN) also known as Japanese Article Number (JAN), which is widely used in the rest of the world. The 13 digit type (EAN-13) is the most common, although there are others such as EAN-8. A UPC can be turned into an EAN-13 by adding a leading zero.
* [[wikipedia:European_Article_Number|European Article Number]] (EAN) also known as Japanese Article Number (JAN), which is widely used in the rest of the world. The 13 digit type (EAN-13) is the most common, although there are others such as EAN-8. A UPC can be turned into an EAN-13 by adding a leading zero.


Since 2005 both EAN and UPC are subsumed under the umbrella GTIN format which can be padded with leading zeroes up to 14 digits.
==Reasons for Adding Barcodes==


==Guidelines==
* Barcodes are an industry standard for identifying products. Adding barcodes makes the MusicBrainz data much more accessible and useful for a variety of organisations, from wholesalers and retailers to public libraries. Some of them might be prepared to license the MusicBrainz database.
* Barcodes are clear, visually distinct, well recognised, almost ubiquitous, and are generally unique to a specific release. This makes them a really useful way to help amateur cataloguers be precise about exactly what they are talking about, even if they don't understand the full subtleties of re-releases, regional variations, catalog numbers, and so on.
* Using a barcode makes it easy to match a MusicBrainz release to an Amazon [[ASIN]]. This adds cover art to releases, and earns MusicBrainz money through referral fees.
* USB barcode scanners are cheap and can be an easy way to manage large collections of music.


See [[Style/Release#Barcode|the guideline for barcodes]].
==Finding==


==Other identifiers==
You're in luck if you have the physical media and there's a barcode printed on it. When doing research on releases you don't own, it's often hard to find the right UPC/EAN. Here are some tips to help you out.


* [[Release/Catalog Number|Catalog number]]
===Googling===

* "<code><artist name></code>" "<code><release name></code>" <code>EAN/UPC/JAN</code>
* <code><Amazon ASIN></code> <code>EAN/UPC/JAN</code>
* <code><catalog number></code> <code>EAN/UPC/JAN</code>

===Guessing===

* Many western labels use parts of barcodes for catalog numbers, or rather catalog numbers in barcodes.
* The last digit is always the checksum. You can easily calculate it using an on-line [http://www.upcdatabase.com/checkdigit.asp tool].
* The digit just before the checksum often stands for media type. E.g. many EMI sublabels often use these: 1 - LP, 2 - CD, 4 - MC, 6 - 12" vinyl, 7 - 7" vinyl, 8 - MD. If you have one barcode, you can try changing the type digit, recalculating the check digit and googling for the new barcode. But also note that different media types sometimes contain different track lists. E.g. LPs are sometimes shorter than CDs.
* If all you have is a catalog number, and you think it's part of a barcode, look for releases from the same years, artist and/or label with similar numbers. You'll often find many releases have the same barcode prefix, so all you'll have to do is prepend the prefix to the catalog number, add the type digit (if needed), calculate the check digit - and you're done.

==Other Identifiers==

* [[Release Catalog Number]]
* [[Label Code]] (Note: for labels, not albums)
* [[ASIN]]
* [[ASIN]]
* [[ISRC]] for recordings (single tracks)
* [[Label Code]] for labels
* [[ISRC]] for recordings

* [[ISWC]] for works
Also see [http://www.iasa-web.org/icat/08_0.htm http://www.iasa-web.org/icat/08_0.htm] for some others.


==Resources==
==Resources==


* [[wikipedia:List_of_GS1_country_codes|List of country codes]] to find where an EAN comes from.
[http://www.barcodesinc.com/generator/ Barcode generator]
* [[wikipedia:GEPIR|GEPIR]] - distributed database of GS1 members, useful for looking up to which company a barcode belongs to

[[Category:Release]] [[Category:Terminology]] [[Category:Identifier]]
[[Category:Release]] [[Category:Terminology]] [[Category:Identifier]] [[Category:To Be Reviewed]]

Latest revision as of 19:13, 30 January 2024

Definition

Barcodes are numbers used as stock control mechanisms by retailers: as such they are highly standardised and well recognised, and form an invaluable identifier for communication between companies.

On physical releases, they usually appear in the form of a machine-readable series of black and white bars, hence the name "barcode".

On digital releases, they appear in numerical form and might be embedded in metadata of downloaded files, returned by an API, hidden in the HTML source of a digital service provider or are part of a URL.

There are many different types of barcode, but the ones usually found on music releases are two:

  • Universal Product Code (UPC), which is the original barcode used in North America. They are 12 digits long, but any number of zeros at the start can be left off, so the actual printed barcode can be shorter than this.
  • European Article Number (EAN) also known as Japanese Article Number (JAN), which is widely used in the rest of the world. The 13 digit type (EAN-13) is the most common, although there are others such as EAN-8. A UPC can be turned into an EAN-13 by adding a leading zero.

Since 2005 both EAN and UPC are subsumed under the umbrella GTIN format which can be padded with leading zeroes up to 14 digits.

Guidelines

See the guideline for barcodes.

Other identifiers

Resources

  • List of country codes to find where an EAN comes from.
  • GEPIR - distributed database of GS1 members, useful for looking up to which company a barcode belongs to