joalla / discogs_client

Continuation of the "Official Python Client for the Discogs API"
https://python3-discogs-client.readthedocs.io
Other
310 stars 50 forks source link

Discogs search endpoint returns 'genre', rather than 'genres'. So genres are never set after a search. #145

Open akda5id opened 8 months ago

akda5id commented 8 months ago

Asking for .genres after a search always requires a second api call, I think I have tracked this down to https://www.discogs.com/developers#page:database,header:database-search has the key as 'genre' and https://www.discogs.com/developers#page:database,header:database-release has the key 'genres' (Both are arrays)

If you want my hacky fix for this issue in the vein of #144, let me know.