-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix enqueuing behavior #8262
Fix enqueuing behavior #8262
Conversation
Kudos, SonarCloud Quality Gate passed! |
Thank you for the contribution! Unfortunately I think we don't want this behavior:
|
@Stypox This is how music apps behave. Try Vanilla Music, for example.
See the linked #2611. I would argue this is the natural meaning.
Can that not be guarded against programmatically? And is it not already possible to cause this in the current release? Enqueuing something while the player is still starting?
I think the enqueuing should be done in the background player. If you're not actively opening the popup or main player using the relevant buttons, and are only building a queue from scratch, you likely don't want to switch to video watching just yet. |
@opusforlife2 then instead of overloading the Enqueue button, I would create a new button named "Start paused in the background" that is only shown when there is no player active/starting. |
@Stypox It will have the same purpose, but sure. Will it then be a swap between Enqueue and Start paused based on whether a player instance is already open? |
Yes, always either one or the other (or none, while the player is starting), in the same place |
Creating a new button might be more user-friendly. |
No, I think adding a new button "Start paused in the background" to the long-press menu would be enough. Make sure to only show that button if the player is not open (if the player is open but the play queue is null, nothing should be shown; if the player is open and the play queue is not null, then the "Enqueue" should be shown) |
Are you saying this cannot be done, @Stypox? Or that it should not be done in this PR? |
Both ;-) I mean, everything is doable, but enqueueing things while the player is starting sounds complicated, thus I'd suggest to do it after the player and the ways it can be started have been refactored |
Closing since there has not been an answer for a while, feel free to reopen ;-) |
What is it?
Description of the changes in your PR
Enqueue
menu item even when the play queue is empty.playWhenReady
to false.Before/After Screenshots/Screen Record
before-mute.mp4
after-mute.mp4
Fixes the following issue(s)
APK testing
Debug APK
Due diligence