Skip to content
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

Show play queue button in main player when there is one stream #10396

Merged

Conversation

AudricV
Copy link
Member

@AudricV AudricV commented Aug 30, 2023

What is it?

  • Feature (user facing)

Description of the changes in your PR

This PR makes the play queue button visible when there is at least a stream instead of two, allowing users to access to the play queue directly from the main player and so to loop/don't loop a single stream.

This solution seems to be the easiest one to always show a loop button without using the play queue activity or the media notification (currently on Android 12 and below only) before the player is rewritten with a new UI and UX in mind.

Fixes the following issue(s)

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

@AudricV AudricV added feature request Issue is related to a feature in the app player Issues related to any player (main, popup and background) labels Aug 30, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 30, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AudricV AudricV merged commit 7c1790b into TeamNewPipe:dev Aug 31, 2023
6 checks passed
@AudricV AudricV deleted the one-stream-main-player-queue-button branch August 31, 2023 13:06
@AudricV AudricV mentioned this pull request Oct 16, 2023
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issue is related to a feature in the app player Issues related to any player (main, popup and background)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Button for the loop
2 participants