-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deezer's API returns alternative release with different GTIN and availability #45
Comments
The problem is actually even worse, the API does this not only for GTIN lookups but even for ID lookups: ID 324028037 is available in AT/CH/DE, which returns the expected result when queried from DE but ID 53024752 when queried from FR, for example. No idea why Deezer suddenly changed the behavior of their API, but this makes the Deezer provider unusable for releases which are not available in the server's region 😭 |
Is this definitely a change in behaviour or could it just not have been noticed before? I think I mentioned that the API sometimes returned "Various Artists" in French in the past, which I assumed was related to the server location, so this kind of weirdness is not unheard of. |
It is a change in behaviour, not too long ago these lookups were still working as expected. According to the logs the issue probably started on June 20: harmony-log | grep "Providers have returned multiple different GTIN" | grep "(Deezer)" |
The following thread on the forum indicates others have been experiencing different API behaviour recently: |
For the time being I have at least made the Deezer provider fail lookups if they return an ID or GTIN which is different from the one which was requested: 4702fcb |
Lookup using all providers
Lookup without Deezer returns a release which is only available outside of Europe
Lookup using only Deezer returns a release which is only available in Europe with a different barcode
Does this happen because Deezer does not have the other release or because their API is queried from a European server?
We should probably adapt the Deezer provider to return an error message which contains the correct GTIN to lookup instead of returning the result.
GTINs with similar issues:
The text was updated successfully, but these errors were encountered: