Rename repeat options to Disabled, Track, and Playlist

Change track and playlist to repeat current track indefinitely.
This commit is contained in:
norepro 2025-11-27 20:43:40 -08:00
parent ff97fa2f62
commit b559de8fc5
4 changed files with 33 additions and 52 deletions

View file

@ -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)]