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

Commit

Permalink
Fix sponsors not automatically skipping at 00:00
Browse files Browse the repository at this point in the history
  • Loading branch information
the-blank-x committed Jun 8, 2021
1 parent 0aa4f43 commit 751f803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/org/schabi/newpipe/player/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ private void triggerProgressUpdate(final boolean isRewind) {
simpleExoPlayer.getBufferedPercentage()
);

if (sponsorBlockMode == SponsorBlockMode.ENABLED) {
if (sponsorBlockMode == SponsorBlockMode.ENABLED && isPrepared) {
final VideoSegment segment = getSkippableSegment(currentProgress);
if (segment == null) {
lastSkipTarget = -1;
Expand Down

0 comments on commit 751f803

Please sign in to comment.