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 a global state for the queue of the current player #73

Open
xypnox opened this issue May 30, 2021 · 0 comments
Open

Add a global state for the queue of the current player #73

xypnox opened this issue May 30, 2021 · 0 comments
Labels
Blocking An issue that is blocking some or all parts of development. enhancement New feature or request Priority The issue has a higher priority.

Comments

@xypnox
Copy link
Member

xypnox commented May 30, 2021

The state should be either a redux store or a context store.

It will save

  • the current queue and
  • the current playing song

and should expose functions to

  • change the currently playing song
  • load next set of songs
  • Shuffle the queue and move the currently playing song to the top
  • optional
    • filter queue
    • load history
      • queue history can be stored in localstorage

The state will be necessary in various operations:

@xypnox xypnox added enhancement New feature or request Blocking An issue that is blocking some or all parts of development. Priority The issue has a higher priority. labels May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocking An issue that is blocking some or all parts of development. enhancement New feature or request Priority The issue has a higher priority.
Projects
None yet
Development

No branches or pull requests

1 participant