Add a play queue: Play next, Add to queue, Play all and Shuffle #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "t3code/playlist-queue-controls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a play queue to every client: "Play next" and "Add to queue" on video menus, and "Play all" / "Shuffle" where a client lacked them.
Behaviour (same on all four clients)
Per client
PlayerHostState. The long-press action sheet gets Play next / Add to queue (hidden on TV, where the player has no queue). Remote playlists get Play all / Shuffle.AppModel. Context menus get Play Next / Add to Queue with a small toast. Play All / Shuffle were missing entirely and are added to library and remote playlists.?list=queue, plays through the watch page and mini player, and survives a reload (sessionStorage).Testing
xvfb-run -a cargo test -- --test-threads=1passes, including newplay_queuetests.:app:testDebugUnitTestpasses, including newPlayerHostStateTestcases.node --testpasses, including newqueueInsert/shuffledtests. A Playwright run against a local debug server with Direct YouTube playback passed 23/23 checks: queue edits and toasts, edits from the feed while the mini player plays, expand, countdown retargeting, reload, card menu, Play all.swift build && swift teston a Mac before merging. New tests are inTests/InvioTests/PlayQueueTests.swift.