mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Don't skip segments that start before 4 seconds
To minimize buffering
This commit is contained in:
@@ -50,7 +50,8 @@ extension PlayerModel {
|
||||
private func shouldSkip(_ segment: Segment, at time: CMTime) -> Bool {
|
||||
guard isPlaying,
|
||||
!restoredSegments.contains(segment),
|
||||
Defaults[.sponsorBlockCategories].contains(segment.category)
|
||||
Defaults[.sponsorBlockCategories].contains(segment.category),
|
||||
segment.start > 4
|
||||
else {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user