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:
1 parent
39cd2b69f1
commit
b75f66c205
18 files changed
+437
-15
No files matched your search
@@ -0,0 +1,6 @@
|
||||
-- Suggestions left alone for a while expire (status 'expired'), and are kept out of the mixes
|
||||
-- until some time after `expired_at`, so the suggestions change from one rebuild to the next
|
||||
ALTER TABLE "mix_suggestion"
|
||||
ADD COLUMN expired_at TIMESTAMPTZ;
|
||||
|
||||
COMMENT ON COLUMN "mix_suggestion".status IS 'new, liked, dismissed or expired';
|
||||
Reference in new issue
Block a user