SponsorBlockMonitor's "playing file changed mid-monitor" exit was too aggressive on the delegation path. When torttube hands off to plugin.video.youtube, Kodi cycles through three URLs (torttube plugin → pv.youtube plugin → MPD on localhost:50152) before settling. If initial_file captured an intermediate one, the next poll's current_file tripped the exit and SponsorBlock silently stopped without skipping anything. Removed the check. The isPlaying() guard already covers the "player stopped" exit; the rare "user started a different video while our monitor is still alive" case isn't worth breaking the common path.
15 lines
299 B
TOML
15 lines
299 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["crates/torttube-sidecar"]
|
|
|
|
[workspace.package]
|
|
version = "1.0.2"
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
authors = ["Sulkta <oss@sulkta.com>"]
|
|
repository = "https://github.com/Sulkta/torttube"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|