[feature request] Add DiscID in the web interface

For submitting a disc ID you need the complete TOC data in the form of e.g. 1 4 78465 150 20971 36350 54056 (first track number, last track number, lead out track offset, list of track offsets; for details see Disc ID calculation).

If you have this you can as a workaround generate the disc ID submission yourself, just append the TOC string to the URL https://musicbrainz.org/cdtoc/attach?toc= and replace spaces with a + sign. So e.g. for the above this becomes https://musicbrainz.org/cdtoc/attach?toc=1+4+78465+150+20971+36350+54056

If your ripper cannot give you this information you could also use a script for this. E.g. install python-discid and create yourself a script submit-discid.py with the following content:

#!/usr/bin/env python3
try:
    import discid
except ImportError:
    from libdiscid.compat import discid
        
disc = discid.read()
print("Disc ID: %s", disc.id)
print("Submission URL: %s", disc.submission_url)

Then run the above with python submit-discid.py or make it executable and put it somewhere in your PATH.

4 Likes