From fe06312b06b79b2613e1ef6b981c30dccd7a2282 Mon Sep 17 00:00:00 2001 From: Quick <31828688+Quick104@users.noreply.github.com> Date: Mon, 6 Jul 2026 14:55:58 -0400 Subject: [PATCH] fix(settings): register player.dolby_vision_enabled and player.seek_cache_enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keys absent from settingsRegistry resolve through the user-scope path and return an empty effective_value, which Apple clients interpreted as false — flipping these default-ON toggles off on first sync. Register both device-scoped keys with default "true" so defaults resolve correctly and device overrides round-trip. seek_cache_enabled had been syncing unregistered since it shipped; dolby_vision_enabled is new (Apple client Dolby Vision toggle, silo-apple e9bd775). Co-Authored-By: Claude Fable 5 --- internal/api/handlers/settings.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/internal/api/handlers/settings.go b/internal/api/handlers/settings.go index c9dd4516..8c5f6c0e 100644 --- a/internal/api/handlers/settings.go +++ b/internal/api/handlers/settings.go @@ -231,11 +231,21 @@ var settingsRegistry = map[string]settingSpec{ DefaultValue: "true", Validate: validateBoolSetting("player.hdr_enabled"), }, + "player.dolby_vision_enabled": { + Scope: scopeDevice, + DefaultValue: "true", + Validate: validateBoolSetting("player.dolby_vision_enabled"), + }, "player.dv_profile7_hdr10_fallback": { Scope: scopeDevice, DefaultValue: "false", Validate: validateBoolSetting("player.dv_profile7_hdr10_fallback"), }, + "player.seek_cache_enabled": { + Scope: scopeDevice, + DefaultValue: "true", + Validate: validateBoolSetting("player.seek_cache_enabled"), + }, "player.playback_speed": { Scope: scopeDevice, DefaultValue: "1",