asteroid/parenscript
Glenn Thompson f2e60b5648 Fix stream-player.js reconnect loop (play/pause race, stall backoff)
- Keep *is-reconnecting* true until 'playing' event fires, preventing
  pause/stalled handlers from triggering new reconnect cycles mid-flight
- Add exponential backoff for stall retries (5s, 10s, 20s... max 60s)
- Give up auto-reconnect after 10 stall attempts, show manual retry
- Add *stall-count* tracking, reset on successful playback
- Add *user-paused* guard to muted-tab pause handler
- Increase play() delay from 200ms to 500ms after load() for reliability

Fixes: AbortError from play()/pause() race, 429 Too Many Requests from
aggressive reconnect hammering, infinite reconnect loop on muted tabs.
2026-03-07 10:34:43 +03:00
..
admin.lisp Remove Icecast/Liquidsoap, migrate fully to Harmony/CL-Streamer 2026-03-05 17:24:12 +03:00
auth-ui.lisp fix: Normalize USERS table timestamps before dm:save to prevent PostgreSQL type errors 2025-12-29 09:39:51 -05:00
dj-console.lisp Fix DJ Console: 400 POST error, library search SQL, auto-playlist pause, now-playing override 2026-03-06 08:06:02 +03:00
frameset-utils.lisp Fix geo stats peak tracking and migrate inline JS to ParenScript 2025-12-14 10:20:32 -05:00
front-page.lisp feat: add media session API on now-playing update 2026-03-02 17:51:26 -05:00
parenscript-utils.lisp fix: add parenscript utils file 2026-03-02 17:51:26 -05:00
player.lisp feat: add media session API on now-playing update 2026-03-02 17:51:26 -05:00
profile.lisp feat: Custom user playlists with submission and admin review 2025-12-21 18:45:35 +03:00
recently-played.lisp Fix listener count and recently-played rendering 2026-03-03 23:25:23 +03:00
spectrum-analyzer.lisp Add mini spectrum analyzer to player frame with theme/style sync 2026-01-11 13:25:55 -05:00
stream-player.lisp Fix stream-player.js reconnect loop (play/pause race, stall backoff) 2026-03-07 10:34:43 +03:00
users.lisp Fix last-login timezone handling 2025-12-19 18:00:30 -05:00