fix(config): align autoplay mode serialization
cx
This commit is contained in:
1 parent
d96233730b
commit
c2628b0076
1 file changed
+2
-1
@@ -8,11 +8,12 @@ use std::sync::{Arc, Mutex};
|
||||
use log::info;
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum AutoplayMode {
|
||||
/// Continue playing within the source (album, playlist, etc.)
|
||||
#[serde(rename = "continue")]
|
||||
ContinueWithinSource,
|
||||
/// Play only the selected track, then stop
|
||||
#[serde(rename = "track_only")]
|
||||
PlayTrackOnly,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user