You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any recommended approach for when we need to retrieve a big list of shazams? I'm working with a list of more than 500 files, and I'm using the same code as in one of your examples:
I've also implemented a sort of manual shazam_cache, to avoid repeating the same audio Shazam.
However, I get many errors. Firstly, I start getting '429' errors, but in reattempts, I start getting mostly "Failed to decode json" errors.
Eventually, after many reruns, I am able to identify most audios, but this is far from a good approach.
Could anyone recommend an approach to handle these errors more effectively, especially when dealing with large lists? Any tips on optimizing the retry logic or managing rate limits would be greatly appreciated.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
Is there any recommended approach for when we need to retrieve a big list of shazams? I'm working with a list of more than 500 files, and I'm using the same code as in one of your examples:
I've also implemented a sort of manual shazam_cache, to avoid repeating the same audio Shazam.
However, I get many errors. Firstly, I start getting '429' errors, but in reattempts, I start getting mostly "Failed to decode json" errors.
Eventually, after many reruns, I am able to identify most audios, but this is far from a good approach.
Could anyone recommend an approach to handle these errors more effectively, especially when dealing with large lists? Any tips on optimizing the retry logic or managing rate limits would be greatly appreciated.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: