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

Queue Settings (Repeat, Shuffle) #16

Open
2 of 8 tasks
maxjoehnk opened this issue May 4, 2020 · 0 comments
Open
2 of 8 tasks

Queue Settings (Repeat, Shuffle) #16

maxjoehnk opened this issue May 4, 2020 · 0 comments

Comments

@maxjoehnk
Copy link
Contributor

maxjoehnk commented May 4, 2020

APIs:

  • trait
    • shuffle upcoming
    • shuffle queue
    • repeat mode
  • memory queue
    • shuffle upcoming
    • shuffle queue
    • repeat mode
pub enum RepeatMode {
  Single,
  All
}

pub trait PlayerQueue {
  fn shuffle_current(&self);
  fn shuffle(&self, shuffle: bool);
  fn get_shuffle(&self) -> bool;
  fn repeat(&self, repeat: RepeatMode);
  fn get_repeat(&self) -> RepeatMode;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant