spotify plugin:token validity

overall the spotify plugin works like a charm, if you dont leave your volumio on for too long because then it seems the token is not valid anymore, or at least that is wht i distilled from the logs. is this correct?

Spotify issues a token valid for on hour, and a refresh token used to get a new token after one hour. The Spotify plugin checks to see if the token is expired before every API call, and requests a new token if needed.

I think there’s a long time bug where the first API call with an expired token doesn’t refresh correctly, but the next call fixes that. So if you click on a link in the Spotify plugin and something doesn’t happen, click again and you should be ok.