5

I've made a Last.fm API key but at the point of adding it to Navidrome I wondered why I was bothering; is this option only there because of backwards compatibility or is there a tangible benefit?

top 6 comments
sorted by: hot top controversial new old
[-] tempo@discuss.tchncs.de 2 points 8 months ago

I'm not certain but it could be used for album art, album description info and for last.fm scrobbling, according to the documentation.

[-] Deebster@programming.dev 1 points 8 months ago

Yes, that's why there's a Last.fm API key, but that and scrobbling work out of the box with the default key. So, is there any reason to replace it with a personal one?

[-] tempo@discuss.tchncs.de 2 points 8 months ago

I'm just guessing so your scrobbling can be associated with you. I can't think of any other reason right now.

[-] Deebster@programming.dev 2 points 8 months ago

Scrobbling's set up per-user using OAuth in the browser, which is better since different users can scrobble to different accounts.

I'm guessing it's left in because why remove it since it's working, and it would be useful if the default API key stopped working.

[-] Undearius@lemmy.ca 2 points 8 months ago

I think it has something to do with fetching album art.

I just set up a server and while it was scanning my library, the logs showed a bunch of rate limits for last.fm with a link how to increase it.

It's likely that Last.fm only allows so many requests using the default API and setting up a personal increases that limit.

[-] Deebster@programming.dev 2 points 5 months ago* (last edited 5 months ago)

I just noticed the same errors myself:

error="last.fm error(29): Rate Limit Exceeded - This application has made too many requests in a short period. If this is your API key, see https://www.last.fm/api/tos#4.4 for information about raising the limit."

Edit: Oh, and now I see you need to have your own in the latest version anyway:

BREAKING CHANGE: This release removes the Last.fm shared API-key, as previously announced here. If you use any Last.fm functionality (scrobbling, biographies, album descriptions), please check the documentation on how to create your own API Key, it is free and should only take you a couple of minutes. NOTE: Remember to re-enable scrobbling after changing the API Key and restarting the server.

this post was submitted on 06 Nov 2023
5 points (85.7% liked)

Navidrome Music Server (Unofficial)

262 readers
3 users here now

Navidrome is a free, open source web-based music collection server and streamer. It gives you freedom to listen to your music collection from any browser or mobile device. https://www.navidrome.org

This is an unofficial community. However, we adhear to the official Code Of Conduct set by the Navidrome project.

founded 11 months ago
MODERATORS