digitalheir / lastfm-to-librefm-exporter

🎶 Easily export your tracks from Last.fm and import them to Libre.fm or Scrobble.fm

Home Page:https://digitalheir.github.io/lastfm-to-librefm-exporter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requesting an API key from libre.fm results in 404

db0 opened this issue · comments

It seems to want to take you to this link: https://libre.fm/api/account/create but this doesn't seem to be working.

Some googling returns results such as this: https://libre.fm/api/auth/?api_key=$LAST_KEY&cb=pscrobble://auth/librefm which seem to be maybe the current way to do it?

Any idea how to get a session key once you've got a token?

Hi, I think I got working by using this url and changing $LAST_KEY by the default API key and the callback was the page for the project.
14:30:02-02-06-2021-screenshot

Like so: https://libre.fm/api/auth/?api_key=r9i1y91hz71tcx7vyrp9hk1alhqp1888&cb=https://digitalheir.github.io/lastfm-to-librefm-exporter/

Then, to generate a token it will ask to log in libre.fm and then to get the session key you will need to open developer option in the browser and search for session id.

14:19:30-02-06-2021-screenshot

But I'm still fetching my scrobbles tho, it will take some time to finish.

Your @bashL workaround was almost working. But now I'm getting "Runtime nodejs6 is no longer available. Please redeploy your function to a newer version." in every page it loads to scrobble. Probably it just has to update the node version.

Doesn't work

How you handled the session key part?