- strip all comments except WHY workaround notes (3 remain) - remove all #[allow(dead_code)]; fix via _prefix rename - extract named constants: JWT time units, token types, default config values, jellyfin fallback bitrate - DRY: move serialize_enum_as_string, content_type_str, parse_content_type, parse_genres_blob to adapter-common - sqlite+postgres library.rs use shared helpers instead of local copies - sqlite+postgres channel.rs use shared serialize_enum_as_string - remove dead `let _ = ext` in scanner.rs
9 lines
182 B
Rust
9 lines
182 B
Rust
use std::path::PathBuf;
|
|
|
|
pub struct LocalFilesConfig {
|
|
pub root_dir: PathBuf,
|
|
pub base_url: String,
|
|
pub transcode_dir: Option<PathBuf>,
|
|
pub cleanup_ttl_hours: u32,
|
|
}
|