mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-10 12:29:11 +01:00
Enqueuing now triggers video playing if the play queue has done playing
This commit is contained in:
parent
a98e745116
commit
0510db75fb
@ -230,7 +230,8 @@ public abstract class BasePlayer implements
|
||||
int sizeBeforeAppend = playQueue.size();
|
||||
playQueue.append(queue.getStreams());
|
||||
|
||||
if (intent.getBooleanExtra(SELECT_ON_APPEND, false) &&
|
||||
if ((intent.getBooleanExtra(SELECT_ON_APPEND, false) ||
|
||||
getCurrentState() == STATE_COMPLETED) &&
|
||||
queue.getStreams().size() > 0) {
|
||||
playQueue.setIndex(sizeBeforeAppend);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user