Create and delete genre mixes from the web UI
- 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>
This commit is contained in:
1 parent
f5cb5076ca
commit
93e12cfc72
23 files changed
+701
-344
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT username FROM \"app_user\" WHERE id = $1",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "username",
|
||||
"type_info": "Varchar"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"hash": "5b3c5bc84a46ee28e84803d183820cc6e52f5c7492dbd3aeb6bbf90a7795cca9"
|
||||
}
|
||||
Reference in new issue
Block a user