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

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();
}