tkem / mopidy-mobile

Mopidy Web client extension and hybrid app for mobile devices
Apache License 2.0
78 stars 14 forks source link

Search coverartarchive via archive.org #155

Closed tkem closed 5 years ago

tkem commented 8 years ago

While the coverartarchive API only allows retrieval of images when given a valid mbid, it is possible to search the Internet Archive coverartarchive collection for creator and title. Identifiers returned seem to be valid MusicBrainz IDs, so this could be used to search for album art when no mbid is provided by the Mopidy track/album.

tkem commented 8 years ago

Looks like using archive.org, it would also be possible to query for existence of cover art given a mbid. This would speed up things a lot.

https://archive.org/advancedsearch.php?q=identifier%3Ambid-8dd3b09c-2a17-4242-bb85-d835f066029e&fl%5B%5D=identifier&rows=2&output=json&callback=callback

Query could of course combine multiple identifiers using OR.

tkem commented 5 years ago

We'll use the "official" API only, since anything else will usually lead to trouble in the long run...