TeamNewPipe / TeamNewPipe/NewPipe
Incorrect behavior when removing a playing video from the background queue when loop state is changed after selection
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 39.7k
- Forks
- 3.8k
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 8
Description
Checklist
- I am able to reproduce the bug with the latest version.
- I made sure that there are no existing issues - open or closed - which I could contribute my information to.
- I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- This issue contains only one bug.
- I have read and understood the contribution guidelines.
Affected version
0.23.0
Steps to reproduce the bug
- Add multiple videos to background play queue
- Disable looping
- Tap last video in play queue to begin it playing
- Set play queue to loop all
- Remove last video (currently playing) from play queue
Expected behavior
The play queue will loop, returning to playing the first video.
Actual behavior
A new video will be queued from autoplay and it will begin playing.
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
Android 10, AOSP
Affected device model
Pixel 4 XL
Additional information
The behavior of removing a playing video from the background play queue seems to depend on the loop setting when you select it (start it playing), rather than the play queue's current loop setting.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the listed background play queue steps, then trace the queue-removal path and how it reads the loop setting when the playing item is selected. Done means removing the currently playing last video after switching to loop-all returns playback to the first queued video instead of starting autoplay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100