mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix #162
This commit is contained in:
parent
c330e8b3c6
commit
c2301862f2
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user