diff --git a/src/library/mod.rs b/src/library/mod.rs index 59dc468..c67473f 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -1,5 +1,6 @@ use std::path::Path; use std::path::PathBuf; +use std::str::FromStr; use walkdir::WalkDir; use func::is_video_file; @@ -96,7 +97,7 @@ impl Library { pub async fn get_video_by_id(&self, id: &str) -> Option