jpochyla / psst

Fast and multi-platform Spotify client with native GUI
MIT License
8.75k stars 222 forks source link

Depreciated API endpoints (Nov 27) #561

Open jacksongoode opened 5 days ago

jacksongoode commented 5 days ago

https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api

I'm not sure how this impacts Psst but I wanted to add it here to start a thread on issues that folks might find.

karelbilek commented 4 days ago

Looking at the client.rs, it does indeed use exactly the deprecated APIs for the recommendations and for the audio analysis, at least.

https://github.com/jpochyla/psst/blob/69314f9fe8e86d57a678ab333b08ab3ffcf2a3bb/psst-gui/src/webapi/client.rs#L1353

kingosticks commented 4 days ago

If you're using an access token derived from Spotify's desktop client ID (or similar), it should keep working for now. Presumably you're doing that. I think there's a good chance they won't ever kill that.... famous last words...

Edit: You are: https://github.com/jpochyla/psst/blob/69314f9fe8e86d57a678ab333b08ab3ffcf2a3bb/psst-core/src/session/access_token.rs#L11