Skip to content

feat: shuffle playlists & channels via context menu#5790

Open
bluegate-studio wants to merge 12 commits into
yuliskov:masterfrom
bluegate-studio:feature/true-shuffle
Open

feat: shuffle playlists & channels via context menu#5790
bluegate-studio wants to merge 12 commits into
yuliskov:masterfrom
bluegate-studio:feature/true-shuffle

Conversation

@bluegate-studio

Copy link
Copy Markdown

Adds "Shuffle playlist" and "Shuffle channel" options to the long-press context menu across video cards, playlist cards, channel cards, and pinned sidebar sections.

How it works

  • Loads all available videos via pagination
  • Shuffles the full list client-side and plays back in sequential order (PLAYBACK_MODE_LIST)
  • Caches the shuffled list per playlist/channel — subsequent launches start playback instantly
  • Background revalidation fetches fresh content without interrupting the current track

UI surfaces

  • Video card menu (playlist + channel shuffle)
  • Playlist card menu
  • Channel card menu
  • Pinned sidebar section menu
  • Channel uploads menu

Other details

  • Progress overlay with live video count during loading
  • Cancel with Back/Escape key
  • Loading timeout with early bail-out
  • README updated with feature documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant