-
-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last.FM Integration #18
Comments
...and it would be great to have the URL configurable so one could use a self hosted service. |
|
Currently Navidrome UI send a "submit" scrobble when it has played 90% of the song: I'm ok with changing this to a standard if there is one. Can you post a reference to where you found such standard? What are your thoughts about similar services (Ex: ListenBrainz)? |
https://www.last.fm/api/scrobbling#when-is-a-scrobble-a-scrobble
Listenbrainz is still severely lacking in most areas. It's still in Beta, so I'll give it that. Its 'Import from last.fm' seems to be problematic, so additional support for it wouldn't be bad and a lot of the newer apps seem to have support for it. I don't think that it should be the only option or that it can substitute last.fm for the moment being, however. I don't know of a single person who uses libre.fm, though. 😛 |
@tcurdt (or anyone else): Is there a self-hosted service compatible with Last.FM API v2? |
I am not aware of one - but with a configurable URL at least one could build one to get the scrobbles :) I am not really using Last.FM anymore. |
That's a nice feature to have! No rush, but can you please open a new issue describing what hooks/events/info you'd like to see in such feature? |
I have encountered the same problem implementing Subsonic API scrobble calls in Strawberry. The underlying problem seems to me that Subsonic's API doesn't specify when the scrobble method should be called and they don't seem to care to adhere to the scrobbling specs. Maybe it should be the client's (in ND's context the web-ui's) responsibility to call it at an appropriate time, considering (1) that they can do it more easily, and (2) all other Subsonic servers that I know of just proxy the request through to Last.FM without delay or queue management. As you pointed out, there would be quite a few considerations on the server side to handle this well. I don't know if you raised this point on Discord, but one big problem with the current implementation in clients like Airsonic and Ultrasonic is: They only call Anyway most clients already have their own scrobbling queue management with correct scobbling timing. So I would propose it's cleanest to plug in the
ListenBrainz specifies pretty much the same btw, see https://listenbrainz.readthedocs.io/en/production/dev/api/#reference. |
I'm having trouble getting scrobbling to Last FM working. I have the configuration in a YAML file, and the log isn't showing that it can't find the LastFM API key/secret like it would it those values were absent. I see a "scrobbling" log entry, but nothing ever makes it to Last FM.
Maybe I've just screwed up the format of the config file? I would think that it would tell me it couldn't find the Last FM config values if that were the case though. My config (navidrome.yml):
|
Hey @SteveDinn , currently Navidrome only uses Last.FM for getting artist metadata, it does not submit played tracks yet. "Scrobbling" in this case refers to the Subsonic API endpoint name (it is confusing, I know) but as I said in ##593 (comment):
|
I need to read more closely. I must be tired :) Thanks again. |
Where does this metadata from LastFM show itself in Navidrome? I am still not convinced I have the configuration correct. |
Last.FM (and Spotify) integration are currently only used for the |
I just started using Navidrome. So far I'm liking it much more than Airsonic, but currently it lacks Last.fm scrobbling. So its great to see it being worked on here and from the looks of it maybe ready for the next release! One feature that would be nice is to use Last.fm (or spotify) to sync your track played count. Or at least on initial setup perform an import. It would also be nice to use Last.fm/Spotify on a per user basis. From what I can tell its currently one API/Account for all users? |
Scrobbling is coming, but not for the next release, I still have to refactor the current code to allow different integrations (offline, MusicBrainz, Libre.FM, etc...) Importing from Last.FM could be done with a script. Unfortunately I don't have the time to write such script, but should be straightforward if you know a bit of Python: you could modify this code that imports from one server to another using the Subsonic API: https://github.com/peguerosdc/subimporter The API keys are used for retrieving info only. For scrobbling, each user will have to grant permission for Navidrome to send the scrobbles to their account. This will be an option in the UI. So yes, it will be per user :) |
Ah, I see. Thanks for pointing me to that script and thanks for your work! |
When Navidrome uses Last.FM for getting artist metadata, does it also get the top rated song info as well? |
@archedraft Not at the same time, but yes, Subsonic API getTopSongs is implemented and uses Last.FM's artist.getTopTracks |
I ditched Last.FM last year and solely use Listenbrainz for scrobbling so it would be good to see that added. |
Just wanted to let people who are waiting for some sort of scrobbling know that Web Scrobbler just added support for Navidrome per my request (yay!). Web scrobbler supports Last.fm, Listenbrainz, Libre.fm, and Maloja! |
Will |
@BobWs Yes it will. Yes, you'll be able to save the current play queue as a playlist |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
There should be a way to disable the integration, for those users concerned with privacy.
The text was updated successfully, but these errors were encountered: