Skip to main content

Barcodes (part 3)

Continuing with poking into the barcode field: in this post I am going to look at the releases that I think have a valid barcode. Before you read this it is good to first read part 1 and part 2.

After processing all the entries with barcode fields I have 3,313,415 potentially valid barcodes, although I am pretty sure that not all of them will be valid.

I looked at the length of the possible barcodes and got this list (after cleaning up whitespace, hyphens, etc.):
  • 13 : 1647416
  • 12 : 1513850
  • 11 : 90840
  • 10 : 30464
  • 14 : 16631
  • 15 : 2817
  • 6 : 2628
  • 8 : 1672
  • 7 : 1410
  • 5 : 1292
  • 18 : 1251
  • 9 : 957
  • 4 : 485
  • 3 : 426
  • 17 : 353
  • 16 : 339
  • 2 : 190
  • 20 : 114
  • 19 : 113
  • 1 : 71
  • 24 : 49
  • 21 : 21
  • 23 : 8
  • 25 : 8
  • 22 : 7
  • 26 : 2
  • 37 : 1
The first two values actually aren't surprising, as they correspond to EAN-13 and UPC respectively. The others need a little bit more attention: codes that are less than 5 I can safely ignore.

A barcode with size 37 is certainly intriguing, so I was expecting a bogus entry but to my surprise it is indeed on this release. The release itself seems to be an unofficial release, so the barcode itself actually is bogus, but it is on the release. That was unexpected.

The barcodes with size 26 turned out to be a data entry error and (likely) a bogus entry. The other long entries are either data entry errors, matrix/runout numbers, unknown as there are no pictures or very unclear pictures, practical jokes by bands (mostly independent releases), releases with two barcodes, stickers from a shop with their own barcodes, unofficial releases, and so on.

I looked at a handful of the barcode values that are 9 characters long and they all were wrong and missing characters. So it seems like there is definitely some low hanging fixing fruit there.

In the next post I will look at the barcodes that are (likely) valid and see which barcodes appear most often. The result might surprise you.

Comments

Popular posts from this blog

SID codes (part 1)

One thing that I only learned about after using Discogs is the so called Source Identification Code, or SID. These codes were introduced in 1994 to combat piracy and to find out on which machines a CD was made. It was introduced by Philips and adopted by IFPI, and specifications are publicly available which clearly describe the two available SID codes (mastering SID code and mould SID code). Since quite a few months Discogs has two fields available in the " Barcode and Other Identifiers " (BaOI) section: Mould SID code Mastering SID code A few questions immediately popped up in my mind: how many releases don't have a SID field defined when there should be (for example, the free text field indicates it is a SID field)? how many releases have a SID field with values that should not be in the SID field? how many release have a SID field, but a wrong year (as SID codes were only introduced in 1994) how many vinyl releases have a SID code defined (which is impossi

SPARS codes (part 1)

Let's talk about SPARS codes used on CDs (or CD-like formats). You have most likely seen it used, but maybe don't know its name. The SPARS code is a three letter code indicating if recording, mixing and mastering were analogue or digital. For example they could look like the ones below. There is not a fixed format, so there are other variants as well. Personally I am not paying too much attention to these codes (I simply do not care), but in the classical music world if something was labeled as DDD (so everything digital) companies could ask premium prices. That makes it interesting information to mine and unlock, which is something that Discogs does not allow people to do when searching (yet!) even though it could be a helpful filter. I wanted to see if it can be used as an identifier to tell releases apart (are there similar releases where the only difference is the SPARS code?). SPARS code in Discogs Since a few months SPARS is a separate field in the Discogs

Country statistics (part 2)

One thing I wondered about: for how many releases is the country field changed? I looked at the two most recent data dumps (covering February and March 2019) and see where they differed. In total 5274 releases "moved". The top 20 moves are: unknown -> US: 454 Germany -> Europe: 319 UK & Europe -> Europe: 217 unknown -> UK: 178 UK -> Europe: 149 Netherlands -> Europe: 147 unknown -> Europe: 139 unknown -> Germany: 120 UK -> US: 118 Europe -> Germany: 84 US -> UK: 79 USA & Canada -> US: 76 US -> Canada: 65 unknown -> France: 64 UK -> UK & Europe: 62 UK & Europe -> UK: 51 France -> Europe: 51 Saudi Arabia -> United Arab Emirates: 49 US -> Europe: 46 unknown -> Japan: 45 When you think about it these all make sense (there was a big consolidation in Europe in the 1980s and releases for multiple countries were made in a single pressing plant) but there are also a few weird changes: