This commit is contained in:
Arkadiusz Fal 2022-06-10 13:26:24 +02:00
parent 05f5015b08
commit 95d1e9bf39
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ final class MPVBackend: PlayerBackend {
if !preservingTime, if !preservingTime,
let segment = self.model.sponsorBlock.segments.first, let segment = self.model.sponsorBlock.segments.first,
segment.end < 4, segment.end > 4,
self.model.lastSkipped.isNil self.model.lastSkipped.isNil
{ {
self.seek(to: segment.endTime) { finished in self.seek(to: segment.endTime) { finished in

View File

@ -51,7 +51,7 @@ extension PlayerModel {
guard isPlaying, guard isPlaying,
!restoredSegments.contains(segment), !restoredSegments.contains(segment),
Defaults[.sponsorBlockCategories].contains(segment.category), Defaults[.sponsorBlockCategories].contains(segment.category),
segment.end < 4 segment.end > 4
else { else {
return false return false
} }