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:
- Get the user data with
/getUser, which will return if scrobbling enabled. If so, then send the scrobble request.
- 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
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
/scrobbleAPI request after/streamfor each song playing.It's done quite easy via native API request
I see 2 possible ways:
/getUser, which will return if scrobbling enabled. If so, then send the scrobble request.Alternatives considered
None
Scope
Backend integration