entriphy / sp-playcount-librespot

Modification of librespot-java to provide play count info from Spotify
Apache License 2.0
119 stars 16 forks source link

[bug] API sometimes responds with an empty response #1

Closed entriphy closed 4 years ago

entriphy commented 4 years ago

Seems to be an issue with the cache.

Chartmastersorg commented 4 years ago

Hi evilarceus!

I was coming to report this exact same issue. I haven't been able to identify a pattern, it's completely random. I can even loop 10 times in a php script for 10 albums and get 0, 3, 9, or 10 results. Kinda weird.

I'm not helping much, I haven't dig into the source code so far to try to understand the root cause. Compared to the previous API, I like how the results include much more parameters, it's very handy!

slapheadted commented 4 years ago

~Was this the intermittent 500s? I was getting that too but haven't checked since Saturday.~ Actually I've just noticed this issue is empty response which doesn't sound like the same issue...I was getting intermittent 500s back from the public server. I'll keep an eye on it and open an issue if I see the issue persist.