Skip to content

Add manual control of Repeat and Shuffle #9

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

Open
jgoguen opened this issue Feb 15, 2024 · 1 comment
Open

Add manual control of Repeat and Shuffle #9

jgoguen opened this issue Feb 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jgoguen
Copy link

jgoguen commented Feb 15, 2024

Related to #8 is adding the ability to toggle shuffle and repeat. The play queue should have the following states:

  • Shuffle on: randomize the order of the queue every time shuffle is turned on.
  • Shuffle off:
    • Version 1: It would be fine to just not change the order of the current play queue for V1 of this feature .
    • Version 2: If playing from a defined playlist (either a playlist, album list, or a future "All Songs" view), turning shuffle off should reorder the queue according to the list display order, with playback continuing from whatever queue position holds the currently playing song. If playing from a queue modified with "Add to Queue", just leave the queue in its current order.
    • Version 3: If the queue was created with "Play Next" or "Add to Queue", reorder the queue according to the order of whatever view it was started with and play back from whatever queue position the current song is at.
  • Repeat off: play to the end of the current queue and stop.
  • Repeat One: continuously play the current song, only changing if the song is manually changed by the user (by choosing a new song or pressing the Next button).
  • Repeat All: play to the end of the current queue; if Shuffle is on randomize the queue order and start from the beginning, or if shuffle is off just go back to the beginning of the queue and continue playback.

When starting playback by choosing a song or pressing Play, the Shuffle state should be whatever it was previously. When starting playback by pressing Shuffle, the Shuffle state should be turned on.

@eeston eeston added the enhancement New feature or request label Feb 15, 2024
@eeston
Copy link
Owner

eeston commented Feb 19, 2024

Defs want to add this. At the moment playback issues are my priority. I would like to have a solid foundation before bolting on features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants