Skip to main content

ISRC codes in Discogs (part 1)

One thing that I had never heard about is the International Standard Recording Code (ISRC). According to the Wikipedia page about ISRC (worth reading) it is actually already almost 30 years old.

These codes are interesting for datamining for a few reasons:
  1. the year in which the code was assigned is embedded in it, even though there are some exceptions: apparently in early days the recording year was used.
  2. they are specific to a single recording
These two characteristics make it an ideal piece of data for checks and comparisons.

Sometimes the ISRC code is printed on releases, but sometimes also embedded in some of the metadata on CDs. I never knew about ISRC, as I don't have releases with the code (or at least, I never paid attention) and I never have had a (standalone) CD-player that displayed these codes by default.

ISRC in Discogs

The ISRC field is a relative new addition to the Barcode and Other Identifers (BaOI) section. In retrospect it might have been better to not put them in BaOI, but with each individual track as each ISRC code is specific to a single recording and not to a release. This would also have made it a lot easier to do all kinds of cross-correlation between releases. But, I guess that with some scripting this can fairly easily be worked around.

When looking at fields with ISRC fields I basically had four questions, the first two of which I will answer in this post:
  1. how many fields with ISRC codes exist, but don't use the ISRC field from BaOI?
  2. how many ISRC fields exist which have data that does not conform to the ISRC standard?
  3. how many releases use the wrong date?
  4. how many recordings exist that use the same ISRC code, but are different recordings (indicating either a duplicate ISRC code, or a typing error of the submitter)?

Missing ISRC fields

There are many releases in Discogs where there are one or multiple ISRC codes, but no ISRC field is used. As usual I added the checks to my scripts and processed the latest data dump.

I found 150,800 fields with ISRC codes (tagged as such in the description field, I did not check the actual contents) in 55,507 releases, where the field is not ISRC. In the dataset they are distributed as follows (by release number, first bar means 1 - 999,999, second bar 1,000,000 - 1,999,999, and so on).

ISRC tagged fields in BaOI that aren't ISRC fields
There are 55,507 releases in Discogs where the ISRC field is not used, but should be.
This means that there is quite some fixing to be done for ISRC codes!

Existing ISRC fields

There are 12718 releases that have the ISRC field set, with 30464 ISRC fields in total. They are divided across the dataset as follows:

ISRC fields found in the Discogs database

Of these 441 releases have one or more fields possibly wrong, totalling 539 fields.


ISRC fields with possibly incorrect data

The peak in possibly incorrect ISRC fields of release number 10,000,000 and higher is expected, but there is an absence in the range 3,000,000 - 3,999,999 which based on the ISRC fields found might be expected.

It should be noted that some of these (mainly Finnish releases) have a code that instead of one ISRC for a single track contain a range of ISRC codes for multiple tracks and my scripts currently do not take that into account (which is on my TODO list). How these ISRC range codes should be expanded is (at the moment) still unclear to me.

Other notable exceptions are Chinese releases, where some extra data seems to have been appended to the ISRC, and French releases, where labels apparently have some ISRC code. This was discussed in the Discogs forums a few months ago.

In the near future I will dig into ISRC codes a bit more, plus play with some programs to extract ISRC codes from my own CDs.

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: