aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-24 20:30:12 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-24 20:30:12 +0200
commited97f138cfc0aee5ac04e4d12b9e392277cbcc40 (patch)
tree9206bf295ebbb98a2805b82a5732b4a8401277b4 /packages/meshbay-node/tests
parent28be8eead316f5026e1c0c8ffd46b873d479091d (diff)
downloadmeshbay-ed97f138cfc0aee5ac04e4d12b9e392277cbcc40.tar.gz
fix(hub): auto-skip a track that fails to load instead of stalling the queue
A genuinely corrupt source file (found via a real "1 track, fails to play" report) would stop a "play all" queue dead with no way forward except manually picking the next track. The player now counts consecutive load failures and advances past them on its own, capped so a pathological queue (everything broken) doesn't spin forever; the existing Promise-rejection catch and a new <audio> onerror handler both feed the same counter, since a decode failure can surface either way depending on the browser.
Diffstat (limited to 'packages/meshbay-node/tests')
0 files changed, 0 insertions, 0 deletions