1
0
mirror of https://github.com/yattee/yattee.git synced 2025-01-10 19:40:33 +05:30
This commit is contained in:
Arkadiusz Fal 2022-06-10 13:26:24 +02:00
parent a52da62a8b
commit 8b12f0e2aa
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
} }