Skip to content

Queue Settings (Repeat, Shuffle) #16

@maxjoehnk

Description

@maxjoehnk

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;
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions