1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 22:00:31 +05:30

Fix skipping intro (should not happen when changing stream)

This commit is contained in:
Arkadiusz Fal 2021-12-20 00:39:45 +01:00
parent ea90f650d8
commit 18d6000976

View File

@ -284,7 +284,8 @@ final class PlayerModel: ObservableObject {
return
}
if let segment = self.sponsorBlock.segments.first,
if !preservingTime,
let segment = self.sponsorBlock.segments.first,
segment.start < 3,
self.lastSkipped.isNil
{