BobNisco/Spotlistr

Feature Request: User's recommendations

Ardakilic opened this issue · 2 comments

Hello,

It would be awesome if this tool had "user's recommendations" tracklist feature. It's the biggest thing I'm missing from last.fm, which led me to discover tons of new bands.

I'd appreciate if this could be considered.

Thanks in advance,

Hey @Ardakilic Can you go into more depth about this idea? What exactly would this potential feature be?

Hello @BobNisco ,

Let's assume my name is "Arda" on Last.fm, and "Arda's recommendations" radio makes me a playlist which that lets me discover new bands over my whole/recent scrobbling history. This way, over my taste, I discover new bands, new songs, also my music taste gets on more shape 🎉

I've used this feature for a loong time, I even made a simple JavaScript project back then to fetch the list, however their public endpoint only provides YouTube tracks now, so the user must be authenticated to fetch that list somehow.

To get the Spotify list as JSON response now I have to do this:

  1. Log-in to last.fm
  2. navigate here: https://www.last.fm/settings/website
  3. Select player "Spotify" or "Spotify beta", or make sure they are selected
  4. Then fetch this link:
https://www.last.fm/player/station/user/$(username)/recommended?ajax=1

When you fetch this endpoint while logged in and player set, this URL gives you the Spotify track ids.

Maybe there's a better approach, maybe their api has an endpoint, I'm not sure about that much.

Anyways; this is the most precious feature of last.fm for me, which I've used for almost a decade, and I'd appreciate if this could be considered 🙏