Files
playlistd/.sqlx/query-d56f95b38163d21d48148082557bbe4afc99732fbf2eb73ac1fee91c761387e9.json
T
Jude SouthworthandClaude Opus 5.5 b75f66c205 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>
2026-11-24 08:22:57 +00:00

95 lines
1.7 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "SELECT * FROM \"mix_suggestion\" WHERE id = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "rule_id",
"type_info": "Uuid"
},
{
"ordinal": 2,
"name": "mix_id",
"type_info": "Uuid"
},
{
"ordinal": 3,
"name": "recording_mbid",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "title",
"type_info": "Varchar"
},
{
"ordinal": 5,
"name": "artist",
"type_info": "Varchar"
},
{
"ordinal": 6,
"name": "release",
"type_info": "Varchar"
},
{
"ordinal": 7,
"name": "cover_url",
"type_info": "Text"
},
{
"ordinal": 8,
"name": "score",
"type_info": "Float8"
},
{
"ordinal": 9,
"name": "status",
"type_info": "Varchar"
},
{
"ordinal": 10,
"name": "youtube_id",
"type_info": "Varchar"
},
{
"ordinal": 11,
"name": "created_at",
"type_info": "Timestamptz"
},
{
"ordinal": 12,
"name": "expired_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false,
false,
true,
false,
false,
false,
true,
true,
false,
false,
true,
false,
true
]
},
"hash": "d56f95b38163d21d48148082557bbe4afc99732fbf2eb73ac1fee91c761387e9"
}