Refactoring #30

Merged
phoenix merged 4 commits from refactoring into devel 2025-06-24 23:02:00 +00:00
Showing only changes of commit eef46c41e5 - Show all commits

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) => {