Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit fe95f61

Browse files
Merge pull request #65 from the-blank-x/sbvideostartfix
Fix sponsors not automatically skipping at 00:00
2 parents 7fc8b51 + 751f803 commit fe95f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)