Merge pull request #65 from the-blank-x/sbvideostartfix
Fix sponsors not automatically skipping at 00:00
This commit is contained in:
commit
fe95f616f8
1 changed files with 1 additions and 1 deletions
|
@ -1680,7 +1680,7 @@ public final class Player implements
|
|||
simpleExoPlayer.getBufferedPercentage()
|
||||
);
|
||||
|
||||
if (sponsorBlockMode == SponsorBlockMode.ENABLED) {
|
||||
if (sponsorBlockMode == SponsorBlockMode.ENABLED && isPrepared) {
|
||||
final VideoSegment segment = getSkippableSegment(currentProgress);
|
||||
if (segment == null) {
|
||||
lastSkipTarget = -1;
|
||||
|
|
Loading…
Reference in a new issue