quadule / knobby

A little Spotify remote to remind you that there's a lot of music out there.
MIT License
173 stars 14 forks source link

Fix 'Liked Songs,' cache Spotify User ID #13

Closed nullstalgia closed 8 months ago

nullstalgia commented 8 months ago

The fix made for #7 actually never worked for me, but I had given away my device as a gift soon after anyway.

Now that I remade one for myself, I quickly fixed the underlying issue (using the Spotify User's display_name instead of their id)

Spotify API reporting the ID as part of the playlist URI:

image

This should also request the user's ID if it wasn't already cached (for people who update). :)

quadule commented 8 months ago

Thanks for catching this! It worked for me since I have an older Spotify account with a username for both the id and display_name, but I realize now the playlist was broken for most users.