BobNisco/Spotlistr

Rate limiting

hazarkarabay opened this issue · 1 comments

When I tried to import a big YouTube playlist, it tries to query all items at once via Spotify API. After ~50 requests, Spotify API starts to return HTTP 429's and these tracks end up in "not found" list.

image

Hey @hazarkarabay, thanks for the bug report. I am aware that there are definitely some throttling issues in Spotlistr in its current form. I have some amount of jittering of requests in the code today but it's really naive (you can see it here

} else if (status === 429) {
). I don't think this is something I am going to fix right away, but I am aware of it