Skip to content

Last.fm scrobble #97

@qewaru

Description

@qewaru

Problem statement

Yuzic itself has integration with Listenbrainz, however Navidrome native client already offers ListenBrainz, as well as Last.fm. Would be great to send an additional request on playback to Navidrome for auto-scrobble, if enabled in native client.
With that yuzic can leave scrobble handling to Navidrome.

Proposed solution

Add /scrobble API request after /stream for each song playing.
It's done quite easy via native API request

I see 2 possible ways:

  1. Get the user data with /getUser, which will return if scrobbling enabled. If so, then send the scrobble request.
  2. Do it by default regardless if the scrobbling is enabled cuz Navidrome will handle the request, even if the feature is not enabled.

Alternatives considered

None

Scope

Backend integration

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions