mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 00:56:16 +00:00
- Add SpotifyClientID/Secret/RedirectURI and AmazonClientID/Secret/RedirectURI fields to datastore.Settings for persistent storage - Server: add amazonClientID/Secret/RedirectURI fields, SetAmazonConfig, GetSpotifyConfig/GetAmazonConfig, ReinitSpotifyService/ReinitAmazonService, and applyMusicServiceCredentials (called under lock from HandleUpdateSettings) - GET /setup/settings: expose credential fields; mask secrets as "***" when set - POST /setup/settings: apply credential updates and reinitialize services live - applyPersistedSettings: fill in music credentials from settings.json when not set via CLI/env (CLI takes precedence) - Settings tab: replace read-only Spotify status with editable Client ID / Secret / Redirect URI inputs for both Spotify and Amazon; save via existing Save button - script.js: populate and collect the six new fields in fetchSettings/updateSettings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>