mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 00:56:16 +00:00
Discussion #295 surfaced that a paired device without Sources.xml silently breaks playback — /full omits TUNEIN and selection fails with 1005. initializeDefaultSources only runs at startup over existing devices, so a device that checks in later is never seeded. Add a Health tab to the admin UI that runs registered checks against the datastore and offers one-click remediations. The first check flags missing Sources.xml per device; its quick fix writes the canonical defaults via SaveConfiguredSources. The check/fix registry is designed so adding Presets.xml, Recents.xml, or future reachability probes is a one-file diff. - New /setup/health (GET) and /setup/health/fix (POST) routes - pkg/service/health: Registry, Check, Finding, QuickFix types - Sources.xml-present check + create_default_sources fix - "7. Health" tab in pkg/service/handlers/web/ Inspired by issue #327's MAINTENANCE tab proposal; curl/URL helper content from that issue can slot into the same tab in a follow-up. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>