framesmith 0.1.0

A Rust library for controlling Samsung Frame TVs over the local network
Documentation
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,
        }
    }
}