fabiofalci / sconsify

A spotify console application
https://fabiofalci.github.io/sconsify
Apache License 2.0
566 stars 26 forks source link

Asking for a new token every time #112

Closed lezohtml closed 4 years ago

lezohtml commented 4 years ago

Hi there,

the app asks me for a new token each time I run it. Sometimes, it asks for a token again during playing. Is it a issue or is it from me ?

tks

fabiofalci commented 4 years ago

Hi @lezohtml

Yes, that's correct. The token is generated by spotify, and they decided how long it'll be valid for. Not much we can do about it.

alalfakawma commented 4 years ago

@fabiofalci Is there anyway to automatically ask for a token and save it? So the user does not have to keep getting a token after every hour. 🤔

fabiofalci commented 4 years ago

I think you could, somehow, use a headless browser, already logged in on web spotify, and then get the new token.