Merge pull request #7693 from TiA4f8R/fix-first-item-play-queue-always-played

Fix first item always played in the play queue when reloading play queue manager
This commit is contained in:
litetex 2022-01-25 19:55:10 +01:00 committed by GitHub
commit 8cfe8c17e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2048,7 +2048,7 @@ public final class Player implements
if (currentState == STATE_BLOCKED) {
changeState(STATE_BUFFERING);
}
simpleExoPlayer.setMediaSource(mediaSource);
simpleExoPlayer.setMediaSource(mediaSource, false);
simpleExoPlayer.prepare();
}