scene: stagedirection: switch to a generic playlist name based interface to mixxx, instead of PWM episode numbers

This commit is contained in:
2026-06-16 11:29:48 +02:00
parent 359941c094
commit 0a2a09eb3c
4 changed files with 14 additions and 16 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ pub mod conversation;
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct StageDirection {
pub episode_number: u32,
pub playlist: String,
#[serde(skip)]
#[serde(default="StageDirection::default_end_time")]
pub end_time: DateTime<Utc>,
@@ -27,7 +27,7 @@ impl StageDirection {
impl Default for StageDirection {
fn default() -> Self {
Self {
episode_number: 0,
playlist: Default::default(),
end_time: Self::default_end_time(),
narrative: Default::default(),
}