Repository navigation
feat(player): playlist queues keep loading their playlist - #2314
Merged
Merged
Conversation
11 of 14 tasks
perf(playlists): load YouTube playlists a page at a time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
watch?v=...&list=...link reads the playlist window (about 100 videos, total and continuation) from the watch request the player already makes, so it starts with one request and keeps growing through the panel continuation.Stacked on #2313.
Related issue
None
Change type
Validation
./gradlew :app:assembleGithubDebug./gradlew :app:testGithubDebugUnitTest(top of the stack: 7029 tests, 0 failures)spotlessCheck,:app:compileFossDebugKotlin)Test device and Android version: Xiaomi 2311DRK48G, HyperOS (Android 16), github debug build of the top of the stack
Screenshots or recordings
Risk and compatibility
Playback path:
setQueuegains an optional page source; with none, behaviour is unchanged. The watch/nextgains an optionalplaylistIdonly for videos started from a playlist link; related videos are still in that response. Phone check: Play all on a 6,129-video playlist started a 100-video queue; tapping video 100 loaded one page (queue page added=100, queue 101 / 200). A link to video 1,002 sent one/nextand no browse request (queue 99, start 20), then grew by 78 through the panel continuation.