mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 17:16:16 +00:00
Pairs with the existing pkg/service/setup/issue218_regression_test.go "survives sync" assertion. This one takes the exact `location` attribute the reporter pasted in issue #218 — the cloud URL embedded in their LOCAL_INTERNET_RADIO preset — parses out the base64 `data` query payload, sanity-checks it really does encode the documented http://ais-sa3.cdnstream1.com/2440_128.aac stream URL, then hits the preset's path-and-query on the real router and asserts the BmxPlaybackResponse the speaker would receive: audio.streamUrl, name, streamType, and the streams[] mirror. Before f3a4658 this test would have 404'd because orion was nested under the wrong `/bmx/` prefix. With the routing fix in place, the two issue #218 regressions now bracket the failure end-to-end: - setup test (sync side): the URL is preserved on the way in - handlers test (this one): the URL works on the way out No fix-side code changes; this is purely a regression-protection addition that documents the contract resolved by f3a4658. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>