Settings API and schema for now_playing_mode (phase 4, step 4)
CI / lint (push) Successful in 13s
CI / validate-monitoring (push) Successful in 40s
CI / federation-interop (push) Successful in 1m8s
CI / test (push) Successful in 3m39s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / notify (push) Successful in 6s
CI / lint (push) Successful in 13s
CI / validate-monitoring (push) Successful in 40s
CI / federation-interop (push) Successful in 1m8s
CI / test (push) Successful in 3m39s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / notify (push) Successful in 6s
now_playing_mode was already in sharing.EDITABLE (step 1), so _settings_body() was already returning it - but SharingSettingsSchema never declared the field, so marshmallow was silently dropping it from every response. Same class of gap phase 3 hit with timezone/ post_weekly_summary/post_milestones. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MK52BGoJbPhZ1vSFuKcGUW
This commit is contained in:
1 parent
ba30d5cb15
commit
515acae233
3 files changed
+53
-3
No files matched your search
+19
-1
@@ -4394,6 +4394,15 @@
|
||||
"type": "boolean",
|
||||
"description": "Post scrobble-count, artist-plays and top-10 milestones as you hit them"
|
||||
},
|
||||
"now_playing_mode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"off",
|
||||
"profile",
|
||||
"posts"
|
||||
],
|
||||
"description": "`off` (default): nothing. `profile`: a \"Now playing\" field on your profile, refreshed at most every 5 minutes and cleared when you stop. `posts`: the profile field, plus a post for each track played 30+ seconds, at most one every 30 minutes, replacing the last one."
|
||||
},
|
||||
"handle": {
|
||||
"type": "string",
|
||||
"readOnly": true,
|
||||
@@ -4474,6 +4483,15 @@
|
||||
"type": "boolean",
|
||||
"description": "Post scrobble-count, artist-plays and top-10 milestones as you hit them"
|
||||
},
|
||||
"now_playing_mode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"off",
|
||||
"profile",
|
||||
"posts"
|
||||
],
|
||||
"description": "`off` (default): nothing. `profile`: a \"Now playing\" field on your profile, refreshed at most every 5 minutes and cleared when you stop. `posts`: the profile field, plus a post for each track played 30+ seconds, at most one every 30 minutes, replacing the last one."
|
||||
},
|
||||
"handle": {
|
||||
"type": "string",
|
||||
"readOnly": true,
|
||||
@@ -4520,7 +4538,7 @@
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "weekly or milestone"
|
||||
"description": "weekly, milestone or now_playing"
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
|
||||
Reference in new issue
Block a user