mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 00:56:16 +00:00
The on-device Sources.xml carries only displayName + sourceKey for AUX, no id and no type. The previous read path synthesized id="2000001+i" and type="AUX" (echoed from SourceKey.Type), which the speaker rejects as INVALID_SOURCE once it pulls config from soundtouch-service after migration. Look up known providers in getDefaultSources and fill canonical id/type/sourceproviderid; also drop the AUX carve-out in marge's ensureSourceType so existing poisoned type="AUX" entries are normalized to type="Audio" at the served-XML layer. Relates to https://github.com/gesellix/Bose-SoundTouch/issues/195 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>