Rename repeat options to Disabled, Track, and Playlist
Change track and playlist to repeat current track indefinitely.
This commit is contained in:
parent
ff97fa2f62
commit
b559de8fc5
4 changed files with 33 additions and 52 deletions
|
|
@ -40,11 +40,12 @@ impl Default for Config {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
|
||||
#[derive(Clone, Copy, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
|
||||
pub enum RepeatState {
|
||||
#[default]
|
||||
Disabled,
|
||||
Once,
|
||||
Always,
|
||||
Track,
|
||||
Playlist,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue