-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Artist name variations have become a part of discogs, and part of the API response for a release.
Take this release:
https://www.discogs.com/Distance-My-Demons/release/899691
The api will return artist information with a name key (value "DJ Distance") and an anv key (value "Distance").
Your search extracts artist information from the name field, and a search on Spotify yields no result. Had we searched using the anv field, we would have had a match: https://open.spotify.com/album/0OunwPdyQkPtategY8yonA?si=7_PH890fRXe9LIZU2KSD0A
There is a simple solution: always use the anv value if it exists. The only question is, could this mean we lose some matches on Spotify? I still think it would be a worthy change, from my collection it seems that ANV will typically be the currently agreed upon most common name. But of course my collection is only "anecdotal evidence".
A more complex solution would of course require changes in your datastructures, maybe retried searches with anvs, etc....