use std::time::Duration;
use crate::types::SlideshowCategory;
#[derive(Debug, Clone)]
pub struct SlideshowConfig {
pub art_image_duration: Duration,
pub shuffle: bool,
pub category: SlideshowCategory,
}
impl Default for SlideshowConfig {
fn default() -> Self {
Self {
art_image_duration: Duration::from_secs(60),
shuffle: false,
category: SlideshowCategory::MyPictures,
}
}
}