torttube/sidecar/Cargo.toml
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

15 lines
308 B
TOML

[workspace]
resolver = "2"
members = ["crates/torttube-sidecar"]
[workspace.package]
version = "1.0.4"
edition = "2021"
license = "GPL-3.0-or-later"
authors = ["Cobb <cobb@sulkta.com>"]
repository = "http://192.168.0.5:3001/Sulkta-Coop/torttube"
[profile.release]
lto = true
codegen-units = 1
strip = true