I’m using Python to write a program which catalogs CD’s.
I read the TOC, from that compute the discid and then use “get_releases_by_discid” which returns a big blast of data. So far so good. However, if the release involves multiple discs then I’m having trouble figuring out which disc of the multi-disc set I’m working with. For example, the Beatles “white” is a 2-disc release. Calling “get_releases_by_discid” yields the same result, other than the discid itself, for both discs and that result has, of course, two entries in the “medium-list”, one for each disc. But I’ve yet to find anything that would show me which of the two discs I asked for information on.
Continuing with the example, disc-2 has the discid ‘eCkQTx14E7sOLStFONplhtvzNSc-’ but so far I’ve not found anything in the returned data to say “that’s the second of the two entries in the medium-list”.
Any suggestions on how to do this?