mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-18 16:46:17 +00:00
Adds Manager.isTelnetMigrated, which substring-matches m.ServerURL's hostname against TelnetVerifiedConfig — the response captured by the preflight's `getpdo CurrentSystemConfiguration`. Mirrors the existing isXMLMigrated semantics so users see consistent migration-state detection regardless of which transport the device exposes. checkIsMigrated no longer early-returns on !SSHSuccess. Telnet runs first and unconditionally; the SSH-based hosts/resolv.conf checks still run when SSH is reachable, since neither variant shows up in `getpdo CurrentSystemConfiguration`. This closes the gap where a USB-unlock-refusing speaker (SA-5, ST520, recent ST Portable) that had already been migrated via telnet was silently reported as IsMigrated: false in the UI. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>