mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-09-07 15:07:17 +00:00
syncSources never reported how many sources it actually saved, so the Admin UI's success message always said the meaningless "sources: synced" regardless of outcome. syncSources now returns the count saved (-1 if the fetch failed), threaded through SyncResult.SourcesCount. Also replaces the single run-on results string (which visually mashed presets/recents/sources together with no separator) with a real <ul> list, one <li> per resource, matching the presets/recents diff lines. Built via DOM APIs rather than innerHTML string concatenation, since preset/recent names ultimately come from user-editable station names on the speaker. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>