mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-09-07 15:07:17 +00:00
handlers_bmx_tunein.go's parseTuneInNavigatePath and stations.go's navigateTuneIn were byte-for-byte identical (confirmed both already independently implemented the same "profiles" parsing before PR #677; that fix was applied consistently to both copies rather than introducing new duplication). Removed the duplicate: HandleTuneInNavigate now delegates to stations.Navigate(stations.ProviderTuneIn, wildcard), the same path stations' own callers already use. Added TestNavigateTuneIn_ProfilesPathDispatch, covering the single- segment (current), legacy multi-segment, and empty-URI shapes -- this package (and the handler package's now-removed copy) had zero test coverage for this logic before. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>