metabrainz/libdiscid — pull request #23 by JonnyJD (2013-06-11 00:34:29+00:00)
Title: LIB-44: pre-read the TOC

Multi-disc releases sometimes give different disc IDs only for the first
read right after inserting the disc in the drive.
Reading the TOC (and only that part) twice should reduce
the chance that this happens.