beetbox / pyacoustid

Python bindings for Chromaprint acoustic fingerprinting and the Acoustid Web service
MIT License
330 stars 66 forks source link

Support list_by_mbid API route #56

Open jbosboom opened 4 years ago

jbosboom commented 4 years ago

AcoustID has an API route at https://api.acoustid.org/v2/track/list_by_mbid (documented at the very bottom of the API doc page) for getting AcoustID track IDs for a MusicBrainz release ID. The MusicBrainz recording page Fingerprints tab uses this route to get the list of linked AcoustIDs. Note that this route doesn't require an API key.

This route is particularly useful for finding files with no fingerprint in the AcoustID database, to avoid calculating and uploading fingerprints for files that already have them. For this reason, I am requesting support for this route in pyacoustid, including the batch mode.

sampsyo commented 4 years ago

Sounds great! I'd happily take a pull request if you are interested in crafting one.