- Add a form to create a cluster mix rule: shown on first visit when there are no rules, and from a + in the sidebar for another Listenbrainz user. Backed by POST /api/discover/rules, which validates each setting and allows one rule per Listenbrainz user. - Add deleting a user's mixes from a bin in the sidebar, optionally also deleting the mixes' playlists from Subsonic. Backed by DELETE /api/discover/rules/<id>?delete_playlists=true. - Stop showing the previous user's mix while a new user's mixes build. - Remove the per-account Listenbrainz token: LB Radio now always uses listenbrainz.token from the config. A migration drops the token columns from app_user, and PUT /api/auth/account/listenbrainz is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
442 B
JSON
23 lines
442 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "DELETE FROM \"cluster_mix_rule\" WHERE id = $1 RETURNING tracking_user",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "tracking_user",
|
|
"type_info": "Varchar"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
},
|
|
"hash": "b1284c3dd34ac0f15791efd36f985d85a36795f49980e1fac023e12c610e4fef"
|
|
}
|