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.
22 lines
1,012 B
XML
22 lines
1,012 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<addon id="plugin.video.torttube"
|
|
name="torttube"
|
|
version="1.0.2"
|
|
provider-name="Sulkta-Coop">
|
|
<requires>
|
|
<import addon="xbmc.python" version="3.0.0"/>
|
|
<import addon="plugin.video.youtube" version="7.0.0" optional="true"/>
|
|
<import addon="inputstream.adaptive" version="2.0.0" optional="true"/>
|
|
</requires>
|
|
<extension point="xbmc.python.pluginsource" library="main.py">
|
|
<provides>video</provides>
|
|
</extension>
|
|
<extension point="xbmc.addon.metadata">
|
|
<summary lang="en_gb">YouTube via RustyPipe + SponsorBlock</summary>
|
|
<description lang="en_gb">Browse, search, and play YouTube videos without an account. Backed by a native RustyPipe sidecar binary. SponsorBlock segments are skipped automatically.</description>
|
|
<license>GPL-3.0-or-later</license>
|
|
<source>http://192.168.0.5:3001/Sulkta-Coop/torttube</source>
|
|
<platform>linux</platform>
|
|
<language>en</language>
|
|
</extension>
|
|
</addon>
|