diff --git a/src/meta.rs b/src/meta.rs index 85cc146..f70643e 100644 --- a/src/meta.rs +++ b/src/meta.rs @@ -135,12 +135,12 @@ pub mod coverart { } pub mod metadata { - // TODO: Move this at the end after the non-std crates - use crate::types; use lofty::file::AudioFile; use lofty::tag::Accessor; use lofty::tag::TagExt; + use crate::types; + pub fn get_meta(t: types::Type, filepath: &String) -> Result { match std::fs::File::open(filepath) { Ok(mut content) => {