ISRCs and cue-sheet

Tags: #<Tag:0x00007f4d56b15800> #<Tag:0x00007f4d56b15620> #<Tag:0x00007f4d56b15300>

I have cue-sheets like this one, which includes ISRCs:

REM File created by SACD Extract, version: 0.3.9.3-75-g38e44737b25a339ca45cc8452153269474d2b7c9
REM GENRE Rock Music
REM DATE 2017-09-25
PERFORMER “Cecil Holmes”
TITLE “Black Motion & Soulful Sounds”
CATALOG CDSML8531
FILE “Black Motion & Soulful Sounds.dff” WAVE
TRACK 01 AUDIO
TITLE “Across 110th Street”
PERFORMER “Cecil Holmes”
ISRC USSM11406054
INDEX 00 00:00:00
INDEX 01 00:02:00
TRACK 02 AUDIO
TITLE “Slaughter”
PERFORMER “Cecil Holmes”
ISRC USSM11406055
INDEX 00 02:25:18
INDEX 01 02:28:15
TRACK 03 AUDIO
TITLE “Ben”
PERFORMER “Cecil Holmes”
ISRC USSM11406056
INDEX 00 04:46:03
INDEX 01 04:48:27
TRACK 04 AUDIO
TITLE “Also Sprach Zarathusta”
PERFORMER “Cecil Holmes”
ISRC USSM11406057
INDEX 00 08:07:06
INDEX 01 08:11:06
TRACK 05 AUDIO
TITLE “Superfly”
PERFORMER “Cecil Holmes”
ISRC USSM11406058
INDEX 00 11:01:24
INDEX 01 11:01:60
TRACK 06 AUDIO
TITLE “Trouble Man T Stands for Trouble”
PERFORMER “Cecil Holmes”
ISRC USSM11406059
INDEX 00 14:02:60
INDEX 01 14:04:03
TRACK 07 AUDIO
TITLE “Shaft”
PERFORMER “Cecil Holmes”
ISRC USSM11406060
INDEX 00 19:59:06
INDEX 01 20:00:16
TRACK 08 AUDIO
TITLE “Love Theme from Lady Sings the Blues”
PERFORMER “Cecil Holmes”
ISRC USSM11406061
INDEX 00 24:43:53
INDEX 01 24:45:41
TRACK 09 AUDIO
TITLE “Freddies Dead”
PERFORMER “Cecil Holmes”
ISRC USSM11406062
INDEX 00 27:45:68
INDEX 01 27:46:69
TRACK 10 AUDIO
TITLE “Soulful Love”
PERFORMER “Cecil Holmes”
ISRC USSM11607528
INDEX 00 30:41:41
INDEX 01 30:43:57
TRACK 11 AUDIO
TITLE “Im Gonna Love You Just a Little More Baby”
PERFORMER “Cecil Holmes”
ISRC USSM11607529
INDEX 00 34:42:48
INDEX 01 34:44:37
TRACK 12 AUDIO
TITLE “Break Up to Make Up”
PERFORMER “Cecil Holmes”
ISRC USSM11607530
INDEX 00 39:34:69
INDEX 01 39:37:13
TRACK 13 AUDIO
TITLE “You Are the Sunshine of My Life”
PERFORMER “Cecil Holmes”
ISRC USSM11607531
INDEX 00 43:39:66
INDEX 01 43:42:43
TRACK 14 AUDIO
TITLE “Neither One of Us”
PERFORMER “Cecil Holmes”
ISRC USSM11607532
INDEX 00 46:52:49
INDEX 01 46:53:62
TRACK 15 AUDIO
TITLE “Pillow Talk”
PERFORMER “Cecil Holmes”
ISRC USSM11607533
INDEX 00 51:01:14
INDEX 01 51:01:44
TRACK 16 AUDIO
TITLE “Killing Me Softly with His Song”
PERFORMER “Cecil Holmes”
ISRC USSM11607534
INDEX 00 54:56:04
INDEX 01 54:57:14
TRACK 17 AUDIO
TITLE “If You Dont Know Me by Now”
PERFORMER “Cecil Holmes”
ISRC USSM11607535
INDEX 00 59:47:41
INDEX 01 59:48:69
TRACK 18 AUDIO
TITLE “Loving You Hurts So Bad”
PERFORMER “Cecil Holmes”
ISRC USSM11607536
INDEX 00 63:15:33
INDEX 01 63:17:28
TRACK 19 AUDIO
TITLE “Call Me”
PERFORMER “Cecil Holmes”
ISRC USSM11607537
INDEX 00 66:31:38
INDEX 01 66:33:07
TRACK 20 AUDIO
TITLE “Stay with Me”
PERFORMER “Cecil Holmes”
ISRC USSM11607538
INDEX 00 69:53:66
INDEX 01 69:56:34

Is there a way to evaluate such files by script so the ISRC values are automatically added to the respective recordings?

Well, I looked through the resources at https://wiki.musicbrainz.org/ISRC#Resources and none of those will do what I need without an extra amount of typing or copy/pasting (Windows user).

kepstin’s MagicISRC in conjunction with mb_MASS-ISRC.user.js makes pasting multiple lines of ISRCs a breeze. But it sounds like that’s not exactly what you are after.

@Griomo run into a similar problem

4 Likes

Thanks @chaban, I think it’s what they need.

I have updated that wiki page now @jorgosch you should take this URL instead (master version, not blob), otherwise the script will not auto update to new versions: https://github.com/jesus2099/konami-command/blob/master/mb_MASS-ISRC.user.js

With this user script installed, go to magicisrc, paste your release URL, copy your bunch of continuous ISRC, go to first track that you have an ISRC for and paste.

Make sure you skip tracks with no ISRC.
Some CD have tracks without ISRC. For those you should paste by continuous blocks. For instance if there are tracks 2.4 and 3.2 without ISRC, you should paste 3 blocks : one for tracks 1.1~2.3, one for tracks 2.5~3.1 and one for tracks 3.3~last track.

2 Likes

I installed the script, went to magicisrc, copied and pasted my cue sheet and nothing happened. That’s what my initial question was about.

Even when I copy the ISRC from the ISRC tag via foobar like this

USSM11406054; USSM11406055; USSM11406056; USSM11406057; USSM11406058; USSM11406059; USSM11406060; USSM11406061; USSM11406062; USSM11607528; USSM11607529; USSM11607530; USSM11607531; USSM11607532

it only fills the field of the first track.

2 Likes

Ach. Could you tell me here or in a ticket, what are your browsers, OS, user script engine and release URL?
And the error found in the JavaScript console, just if possible.

I’ll be happy to help you troubleshoot your script, but please not in this thread. Here I would like to stay on topic “How to extract info from cue sheets”.

That’s what the script does, check out its global regular expression, for extracting ISRCs from any text blurb:

/\b[A-Z]{2}\-?[A-Z0-9]{3}\-?[0-9]{2}\-?[0-9]{5}\b/g

I have added a heading and trailing \b in the line above, it is even better than the script version.


For the record, I have just tested your cue sheet on Firefox for Android with Violentmonkey: it worked in kepstin’s magicisrc.
So it’s supposed to work, on PC and mobile.

1 Like

Works on MS Edge with Tampermonkey FYI :wink:

1 Like

I’ve just tried again and it doesn’t seem to work. Palemoon and Greasemonkey for Palemoon. Since it works for you guys, it must be a case of the stupids on my side. This should be as easy as copying the whole cuesheet contents and pasting it into the first field at magicisrc, right? (After selecting an MBID and logging in, of course…)

I also just tried with Edge and Tampermonkey. I can log on to my account but the magicisrc site will not load any MBID. Weird.

1 Like

Old Edge version did not work with magicisrc, it’s only ok with Edge based on Chromium :wink:

3 Likes

That works. Shame that Palemoon doesn’t…

2 Likes

The “mass-add-ISRC” script works like a charm. It is a pity I have spent a lot of time entering ISRC manually, not being aware of this script.

Maybe @reosarevok could add a reference to The Classical Editor Toolbox?

2 Likes