clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.73k stars 675 forks source link

last.fm auth token doesn't get refreshed. #5850

Open dland opened 7 years ago

dland commented 7 years ago

The player no longer maintains an auth token on last.fm for extended periods. (It used to work, I'm pretty sure something changed on last.fm's side... they have been moving stuff around).

This means you have to sign into last.fm to authorize Clementine to send scrobbles every week or so.

I think Clementine now needs to refresh the token each time it starts up, and after a fixed interval of play.

System information

Expected behaviour / actual behaviour

Preferences | Last.fm should show that I am signed in as .

Steps to reproduce the problem (only for bugs)

Sign in and wait one week (pretty sure that's the token expiry timestamp).

hatstand commented 7 years ago

4.1 Session Lifetime Session keys have an infinite lifetime by default.

Sigh, thanks Last.fm.