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

Shuffle on not-currently-playing playlist: shuffle current too #47

Open
Sheraff opened this issue Jan 19, 2023 · 0 comments
Open

Shuffle on not-currently-playing playlist: shuffle current too #47

Sheraff opened this issue Jan 19, 2023 · 0 comments

Comments

@Sheraff
Copy link
Owner

Sheraff commented Jan 19, 2023

Currently, when the player is paused (or not yet started), the shuffle is off and we select a playlist, it automatically sets the current track as the first one. When we turn shuffle on it suffles the playlist but not the current. So there is no way to "start as shuffled", we always start at the first track.

A better behavior would be that if we turn shuffle on for a playlist that hasn't yet started, the current track is selected randomly (basically select the first in shuffled order after shuffling the order).

To keep in mind:

  • if the playlist is currently playing, keep current behavior
  • if the playlist was started but got paused, maybe keep current behavior?
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

No branches or pull requests

1 participant