Start to implement the VideoService list_root_folder method.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user