diff --git a/addon/plugin.video.torttube/main.py b/addon/plugin.video.torttube/main.py index 67165a4..1895648 100644 --- a/addon/plugin.video.torttube/main.py +++ b/addon/plugin.video.torttube/main.py @@ -396,16 +396,18 @@ def _play(yt_id: str) -> None: """ _log(f"play id={yt_id}") - # Tier 0: delegate to plugin.video.youtube if installed. Don't run our - # SponsorBlock monitor in this path — pv.youtube has its own and would - # double-skip if both fire. + # Tier 0: delegate to plugin.video.youtube if installed. Our SponsorBlock + # monitor still attaches because xbmc.Player() works regardless of which + # addon initiated playback. If pv.youtube ALSO has SB enabled the user + # might see double skips; rare in practice (pv.youtube's SB is off by + # default and theirs is more conservative). use_pv_youtube = True try: use_pv_youtube = ADDON.getSettingBool("prefer_pv_youtube") except Exception: - # Setting not yet in Kodi's cache (settings.xml just changed) — default on. pass if use_pv_youtube and _delegate_to_pv_youtube(yt_id): + _attach_sponsorblock(yt_id) return mpd_bytes: bytes | None = None