vhaudiquet / blade-player

Android music player that plays from local library, Spotify or Deezer
GNU General Public License v3.0
67 stars 12 forks source link

Spotify player : playback error #9

Open vhaudiquet opened 6 years ago

vhaudiquet commented 6 years ago

After using the spotify player for a while, it throws a "kSpErrorFailed" and stop working. I tried to change the code to handle theses errors, in a way that after a kSpErrorFailed, the spotify token is refreshed and the spotify player is re-initialized ; but it doesn't work. The only way to make it work again is to exit and restart Blade. Maybe the issue is related to my device which has a bad connection, or to the spotify sdk... Or maybe it is related to the spotify token as i thought in the first place and i'm doing something wrong... Anyway i'll need to work on that, and i would like to know if that happens on other devices.

DrizztFR commented 4 years ago

Hi,

Please note that I've seen this error and it disappeared when I closed the app and reopened it. That didn't really bother me though.

I'm on Xiaomi Mi Mix 2s with LineageOS 16, I downloaded last version of Blade from F-Droid.

vhaudiquet commented 4 years ago

Hi, Well thanks for reporting that ! Actually it happens a lot to me but only when i have weak connections, or when i swap between mobile data and wi-fi, things like that. I also run Lineage, but i think i had this error on another device that had stock android. Anyway i can't and won't fix it right now, so i'm glad to hear that it does not bother you :))