Scrobble plays from the UI, and vary suggestions between rebuilds

Scrobbling: the UI reports "now playing" when a song starts, and a listen
once half of it (or 4 minutes) has actually been played. Library songs go
through Subsonic's scrobble endpoint, which keeps play counts and passes
them on to the user's Listenbrainz/Last.fm; YouTube songs go straight to
Listenbrainz with listenbrainz.token. discover.scrobble = false turns it
off. Also stops the previous YouTube video when moving to the next YouTube
song, as it played on while the next was looked up.

Fresher suggestions: each mix's suggestions are a random sample of its
best 3 x discovery_count candidates, weighted by fit squared, rather than
always the top ones. Suggestions left alone for a week expire, and stay
out of the mixes for 60 days.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jude SouthworthandClaude Opus 5.5 committed 2026-11-24 08:22:57 +00:00
1 parent 39cd2b69f1
commit b75f66c205
18 files changed
+437 -15

No files matched your search

+6 -1
View File
@@ -21,7 +21,8 @@ url = "postgres:///navidrome-playlists"
[listenbrainz]
# Your Listenbrainz user token (listenbrainz.org/settings). Optional: lets the discover UI
# find new songs for each mix's genres with LB Radio, on top of your recommendations.
# find new songs for each mix's genres with LB Radio, on top of your recommendations, and
# scrobble the new songs it plays from YouTube to this account.
# Used for every mix, whichever Listenbrainz user it's for
# token = ""
@@ -30,6 +31,10 @@ url = "postgres:///navidrome-playlists"
ui = "/usr/share/playlistd/discover"
# yt-dlp binary used to find suggested songs that aren't in your library on YouTube
# ytdlp = "yt-dlp"
# Scrobble what's played in the discover UI (default true): library songs through Subsonic,
# which keeps play counts and passes them on to its Listenbrainz/Last.fm, and new songs played
# from YouTube straight to Listenbrainz, with listenbrainz.token
# scrobble = true
# Format to ask Subsonic to stream in ("raw" = no transcoding), e.g. "mp3" if your
# library has files browsers can't play
# format = "raw"