Module includes re-org

This commit is contained in:
2025-06-24 18:55:00 -04:00
parent 5887a72f9d
commit eef46c41e5

View File

@@ -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<String, std::io::Error> {
match std::fs::File::open(filepath) {
Ok(mut content) => {