cd-discid
cd-discid copied to clipboard
--musicbrainz option which outputs a TOC
I.e. I get this correct FreeDB-ID: 38098c05
If I do: cd-discid --musicbrainz /dev/sr1 , I get: 5 183 51735 90810 126230 165433 183465
This TOC couldn't be found here, if you give in (FreeDB-ID:) 38098c05 (you will find 6 CDs) https://musicbrainz.org/search
My own code in a windows program finds it normally at FreeDB this way (and via Telnet): cddb query 38098c05 5 183 51735 90810 126230 165433 2445
@TJFOE, Currently (v1.4), there is a bug, the output does not comply with current MusicBrainz Disc ID Calculation specs. I have submitted pull request #6 to fix that.
Your TOC:
5 183 51735 90810 126230 165433 183465
Is in fact:
1 5 183465 183 51735 90810 126230 165433
You can take this correct value, and append it to this URL:
https://musicbrainz.org/cdtoc/attach?toc=
Replace spaces by +
or by %20
, if your browser does not already do it by itself:
- https://musicbrainz.org/cdtoc/attach?toc=1+5+183465+183+51735+90810+126230+165433
- https://musicbrainz.org/cdtoc/attach?toc=1%205%20183465%20183%2051735%2090810%20126230%20165433