From c2301862f2d430696ad03b176c7cb02d8c2ee499 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 10 Jun 2022 13:26:24 +0200 Subject: [PATCH] Fix #162 --- Model/Player/Backends/MPVBackend.swift | 2 +- Model/Player/PlayerSponsorBlock.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Model/Player/Backends/MPVBackend.swift b/Model/Player/Backends/MPVBackend.swift index 95975c19..154311d6 100644 --- a/Model/Player/Backends/MPVBackend.swift +++ b/Model/Player/Backends/MPVBackend.swift @@ -133,7 +133,7 @@ final class MPVBackend: PlayerBackend { if !preservingTime, let segment = self.model.sponsorBlock.segments.first, - segment.end < 4, + segment.end > 4, self.model.lastSkipped.isNil { self.seek(to: segment.endTime) { finished in diff --git a/Model/Player/PlayerSponsorBlock.swift b/Model/Player/PlayerSponsorBlock.swift index ef6bf6d1..4b342067 100644 --- a/Model/Player/PlayerSponsorBlock.swift +++ b/Model/Player/PlayerSponsorBlock.swift @@ -51,7 +51,7 @@ extension PlayerModel { guard isPlaying, !restoredSegments.contains(segment), Defaults[.sponsorBlockCategories].contains(segment.category), - segment.end < 4 + segment.end > 4 else { return false }