Skip to content

Commit

Permalink
Fix #162
Browse files Browse the repository at this point in the history
  • Loading branch information
arekf committed Jul 11, 2022
1 parent caf3eb1 commit d907ee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Model/Player/Backends/MPVBackend.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Model/Player/PlayerSponsorBlock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d907ee7

Please sign in to comment.