torttube/sidecar
Kayos 63962b29b5 v1.0.4 — fix mid-play swap: don't block Player callback thread
onAVStarted was calling _fetch_sb_segments synchronously, which
subprocess.run()'s our sidecar — up to 8s of blocking on Kodi's
serialized player event thread. When the user started a new video while
one was playing, pv.youtube's stream resolve for the new video raced
with our blocked callback and the new play got dropped as "unplayable
item" before pv.youtube could finish.

Moved the segment fetch + skip loop into a background thread that
starts from onAVStarted and returns instantly. Player callbacks now
clear in microseconds.
2026-05-23 16:31:59 -07:00
..
crates/torttube-sidecar v1.0.1 — pv.youtube service preflight + sidecar runtime revert 2026-05-23 13:56:04 -07:00
Cargo.toml v1.0.4 — fix mid-play swap: don't block Player callback thread 2026-05-23 16:31:59 -07:00