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>
16 lines
416 B
JSON
16 lines
416 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n DELETE FROM \"mix_suggestion\"\n WHERE rule_id = $1 AND status = 'expired' AND expired_at < NOW() - make_interval(days => $2)\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Int4"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "31bb71a0aa408eef106d263020d928b91514677637f585cdc53344b86c138f7a"
|
|
}
|