Barcode: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
((Imported from MoinMoin))
mNo edit summary
(25 intermediate revisions by 12 users not shown)
Line 1: Line 1:
==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.


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 a few different types. Some of the most common are:
* [[Universal Product Code|UniversalProductCode]] (UPC):
<ul><li style="list-style-type:none">This was the original barcode introduced in the US. They are theoretically 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. [http://en.wikipedia.org/wiki/Universal_Product_Code Wikipedia page]
</ul>
* European Article Number ([[EAN]]):
<ul><li style="list-style-type:none">This is the European version, and is basically the same as the UPC but has 13 digits. All UPCs are also valid EANs, they just have an extra zero at the start. Somewhere, not sure where, I got the impression that the US is also standardising on EANs now. [http://en.wikipedia.org/wiki/EAN Wikipedia page]
</ul>


There are many different types of barcode, but the ones usually found on music releases are two:
===Reasons for Adding Barcodes===


* [[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.
I think it's worth recording these, just so we know why we're doing what we're doing:
* [[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.
* 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, and almost ubiquitous. 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.
* [[Amazon Matching|AmazonMatching]] would be made far easier if barcodes were available. Adding a barcode to an album would, pretty much automatically, result in [[MusicBrainz]] acquiring an [[ASIN]] as well. This adds cover-art to album pages, and earns [[MusicBrainz]] money through referral fees.
* You can buy USB barcode scanners for not much money. This would be a nice way to manage large collections of music. For example, a music collector buys a job lot of old CDs at a jumble sale, and wants to add them all to their private catalog. OK, maybe not a very common requirement, but I thought I'd throw it in there! :-)


==Guidelines==
==Barcode DB Project==


See [[Style/Release#Barcode|the guideline for barcodes]].
I'm running a separate project, the Barcode DB (BCDB) for keeping track of barcodes on media, including CDs. Part of this is a client that allows you to catalogue your CDs with a barcode reader and have it tell you about the CDs, by including a reference to an external source such as [[MusicBrainz]] to give artist/track/etc details. If you found this page because you're doing something barcode and music related, drop a mail to [mailto:musicbrainz@bcdb.org.uk musicbrainz@bcdb.org.uk] or have a look at the fledgling site on [http://www.bcdb.org.uk/ http://www.bcdb.org.uk/] If there's sufficient demand, it would make sense to merge the information into a single data source.


==Other Identifiers==
==Other identifiers==


* [[Release Catalog Number|ReleaseCatalogNumber]]
* [[Release/Catalog Number|Catalog number]]
* [[Label Code|LabelCode]] (Note: for labels, not albums)
* [[ASIN]]
* [[ASIN]]
* [[ISRC]] for recordings (single tracks)
* [[Label Code]] for labels
* [[ISRC]] for recordings
* [[ISWC]] for works


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


[[wikipedia:List_of_GS1_country_codes|List of country codes]] to find where an EAN comes from.
==Discussion==


[[Category:Release]] [[Category:Terminology]] [[Category:Identifier]] [[Category:To Be Reviewed]]
<ul><li style="list-style-type:none">According to [http://www.uc-council.org/ean_ucc_system/stnds_and_tech/2005_sunrise.html http://www.uc-council.org/ean_ucc_system/stnds_and_tech/2005_sunrise.html], it looks like the US is still sticking with the 12-digit UPC code, but from the start of this year that all US retailers' and wholesalers' technology must also support EANs, thus reducing the re-barcoding of imported items. This is A Good Thing. --[[User:RodBegbie|RodBegbie]]
</ul>

----

<dl><dt>Adding Barcodes to MusicBrainz
<dd>

UPC/EAN codes have been requested from time to time but haven't been implemented for several reasons like EANs being not really unique (a well-known example is the reuse of Warner Home Video codes for (DVDs). Another problem is that our albums don't really correspond to "products". Thus we decided to wait until the [[Release Groups|ReleaseGroups]] proposal is implemented which is probably the next big thing that has to happen.--[[User:MatthiasFriedrich|MatthiasFriedrich]]
<ul><li style="list-style-type:none">I think it's fair to say that we can have no expectations that either Album -> Barcode or Barcode -> Album relationships would be unique. Albums imported to the US from Europe get re-barcoded, and importers often re-used the same set of UPC codes. --[[User:RodBegbie|RodBegbie]] PUID's, TRM's, and even Disc ID's aren't unique in either direction! If EAN's conflict, (good) client software should let the user pick which is the proper one in their case - like it does with, at least, disc ID's. Bad client software? Well, they'll mess up regardless! --[[User:FrederikSOlesen|FrederikSOlesen]]
</ul>

Using AR we could really bridge the time until we have [[Release Groups|ReleaseGroups]]. Later we could simply parse the URLs and extract the EANs. All you have to do now is to convince the link editors to add a new album<->URL link type.
</dl>

----

<ul><li style="list-style-type:none">Simple question: How is BarCode supposed to help in [[Amazon Matching|AmazonMatching]]? I've never seen amazon storing barcode information anywhere or is this hidden somewhere? --[[User:Fuchs|Fuchs]]
</ul>

Another simple question: When entering a BarCode do we use the UPC (12 numbers or less) or use the standardized 13 digit EAN?

[[Category:To Be Reviewed]] [[Category:Proposal]] [[Category:Terminology]]

Revision as of 20:48, 11 May 2015

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".

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.

Guidelines

See the guideline for barcodes.

Other identifiers

Resources

List of country codes to find where an EAN comes from.