Skip to content

Show queue progress and total duration in PlayQueueActivity for Popup and background queue - #13942

Merged
theimpulson merged 2 commits into
TeamNewPipe:devfrom
L1ly-Hou:feat/queue-total-duration
Oct 23, 2026
Merged

theimpulson merged 2 commits into
TeamNewPipe:devfrom
L1ly-Hou:feat/queue-total-duration

Conversation

@L1ly-Hou

@L1ly-Hou L1ly-Hou commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • Added queue progress and total duration display to the play queue screen used by Popup and Background Player.
  • Calculated the current queue progress based on the durations of preceding items and the playback position of the current item. And keep updating as it plays.

Before/After Screenshots/Screen Record

  • Before:
screenshot 2026-10-20 013424
  • After:
screenshot 2026-10-21 163918

Fixes the following issue(s)

Testing/QA

Devices
  • Tested on a Pixel 7 Android13 emulator (API 31).
Steps for testing
  • Open a play queue.

  • Start playback in Background Player mode.

  • Open the play queue and verify that the overall queue progress and total duration are displayed next to the video author.

  • Verify that the queue progress updates during playback.

APK for 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

@github-actions github-actions Bot added the size/medium PRs with less than 250 changed lines label Oct 21, 2026
@TobiGr TobiGr added feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface queue Issue is related to queueing labels Oct 21, 2026

@theimpulson theimpulson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me. Thank you!

@theimpulson
theimpulson force-pushed the feat/queue-total-duration branch from 33b21bb to 0735e17 Compare October 23, 2026 05:28
@theimpulson

Copy link
Copy Markdown
Member

Rebased to fix merge conflicts

@sonarqubecloud

Copy link
Copy Markdown

@theimpulson
theimpulson merged commit acb7dfd into TeamNewPipe:dev Oct 23, 2026
7 checks passed
@ShareASmile ShareASmile changed the title show queue progress and total duration in PlayQueueActivity for popu… Show queue progress and total duration in PlayQueueActivity for Popup and background queue Oct 24, 2026
@ShareASmile

Copy link
Copy Markdown
Collaborator

I tested latest nightly build 1196 after the quick merge of this PR and found issues related to this PR.

A UI Crash bug report with logs and an another minor regression (covered in Additional Info section) in #13963.

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 GUI Issue is related to the graphical user interface queue Issue is related to queueing size/medium PRs with less than 250 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Queue Time Not available in Play queue (i.e. pop-up & background player queue)

4 participants