Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Play All and Shuffle Button #6153

Open
wants to merge 4 commits into
base: development
Choose a base branch
from

Conversation

JL0000
Copy link

@JL0000 JL0000 commented Nov 12, 2024

Add Play All and Shuffle Button

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

#5618

Description

Added Play all and Shuffle buttons to both user and youtube playlists.
Clicking on Play all always plays the first video in the playlist.
Clicking on Shuffle plays a random video in the playlist and toggles shuffle mode on.

Screenshots

Before

User Playlist
playlist-no-button
playlist-no-button-list
Youtube Playlist
yt-playlist-no-button

After

User Playlist
playlist-button
playlist-button-list
Youtube Playlist
yt-playlist-button

Testing

Play all plays the first video after video order is changed.
Shuffle works as intended after a video is deleted whilst playing through the playlist.
Shuffle resets the playlist after adding a new video whilst it is playing its last item in the iteration. This behaviours is inherited from the development branch.

Desktop

  • OS: MacOs
  • OS Version: 15.1
  • FreeTube version: v0.22.0 Beta

Additional context

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 12, 2024
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) November 12, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: waiting for review For PRs that are complete, tested, and ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant