mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-21 01:56:15 +00:00
readPresetsLocked's os.IsNotExist branch and GetRecents' equivalent branch silently returned an empty result with no log line at all, unlike their sibling 0-byte/malformed-XML branches which already log. When a reporter's speaker got served an empty preset list at reboot despite an intact on-disk Presets.xml, there was no durable record of it anywhere except a live capture at the exact moment. Also log the per-device preset count going into every /full response in CreateAccountDevice, distinguishing a disk read that came back empty from one where source-mapping silently dropped presets afterward. Diagnostic only, no behavior change - the actual trigger for the empty response is still open.