Skip to content

Commit 751f803

Browse files
committed
Fix sponsors not automatically skipping at 00:00
1 parent 0aa4f43 commit 751f803

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/player/Player.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ private void triggerProgressUpdate(final boolean isRewind) {
16801680
simpleExoPlayer.getBufferedPercentage()
16811681
);
16821682

1683-
if (sponsorBlockMode == SponsorBlockMode.ENABLED) {
1683+
if (sponsorBlockMode == SponsorBlockMode.ENABLED && isPrepared) {
16841684
final VideoSegment segment = getSkippableSegment(currentProgress);
16851685
if (segment == null) {
16861686
lastSkipTarget = -1;

0 commit comments

Comments
 (0)