diff --git a/CLAUDE.md b/CLAUDE.md index 9ef6bca..03fbc72 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -59,12 +59,13 @@ Repo: https://gitea.apointless.space/bsncubed/aes67-ESP32-P4 - Download speed ~1.4 Mbit/s over TLS (fine for ~250 kbit/s; tune buffer sizes / per-chunk overhead). - Not yet tested: HE-AAC variant (140k), other stations, fMP4/ADTS-only playlists, discontinuities (#EXT-X-DISCONTINUITY), network loss and recovery, long runs. - Audio starts only after PTP lock (~20 s after boot): intended, TX needs PTP. - - [ ] cspot (Spotify Connect): login, audio, pause/skip/seek and app volume work (7.5b). Open: - - OTA during an active Spotify session made the upload crawl (~10 kB/s) and ended in a reset. With Spotify paused for the upload (aes67_ota_on_update) 2 of 3 later tries worked, 1 still failed: intermittent, root cause not found. Serial log of a good upload: flash writes stall the TX task > 20 ms about 20x/s (509 'aes67_tx: resync' in 26 s, stream stutters during OTA; none during normal playback). Likely the same stalls hit cspot's network/TLS tasks. Ideas: end the Spotify session (not just pause) for OTA; rate-limit the resync warning. - - Opening /dev/ttyACM0 resets the board even with DTR/RTS held low: start serial captures before setting up a test. + - [ ] cspot (Spotify Connect): login, audio, pause/skip/seek, app volume, live mode switching work; stays connected across track changes and past 6 min (7.5b). Fixed so far: logger NULL crash, Vorbis symbol clash, volume starting at 0, reconnect race (PR #3 patch), 6-minute AP resets (delayed Pong patch), app dropping the device (notifyAudioReachedPlayback). Open: + - OTA with a session: now ends the session first; 2 of 2 uploads with a running session were clean since. Flash writes still stall TX > 20 ms during uploads (stream stutters while updating). - First connects sometimes fail ("Can't connect to spotify servers"), a retry works. - - Internal heap drops from ~408 KB to ~232 KB with a session; check what can move to PSRAM. + - Internal heap drops from ~365 KB to ~231 KB with a session; check what can move to PSRAM. + - Track display in the app can switch ~3-5 s early. - Mute at 0 % volume not yet confirmed. + - Consider offering the delayed-Pong fix upstream (philippe44/cspot). - [ ] failover (auto mode) + /api/player - [ ] 8. Mono sum, gain, polish.