Start to implement the VideoService list_root_folder method.

This commit is contained in:
Florian THIERRY
2026-07-14 14:27:45 +02:00
parent f8fd59b01a
commit 2df12118eb
11 changed files with 69 additions and 15 deletions
@@ -1,7 +1,7 @@
use std::fs::File;
use std::path::Path;
use lumiere_domain::video::model::VideoFormat;
use lumiere_domain::video::model::VideoFormat::{AVI, MKV, MP4, UNKNOWN, WEBM};
use lumiere_domain::video::library_item::VideoFormat;
use lumiere_domain::video::library_item::VideoFormat::{AVI, MKV, MP4, UNKNOWN, WEBM};
/// Determine Content-Type by reading file headers (magic numbers)
pub fn get_content_type(path: &Path) -> VideoFormat {