From eef46c41e5a53e2bf5b141369b938e3a0074009e Mon Sep 17 00:00:00 2001 From: phoenix Date: Tue, 24 Jun 2025 18:55:00 -0400 Subject: [PATCH] Module includes re-org --- src/meta.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) => {