diff --git a/src/main.rs b/src/main.rs index 7acd983..b871461 100755 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,6 @@ use clap::{Parser, Subcommand}; use lofty::file::TaggedFileExt; +use lofty::prelude::ItemKey; use lofty::probe::Probe; use lofty::tag::Accessor; use lofty::tag::Tag; @@ -35,9 +36,6 @@ fn main() -> Result<(), Box> { for item in tag.items() { println!("{:?}", item) } - - let album_artist = tag.get_string(lofty::tag::ItemKey::AlbumArtist); - println!("AlbumArtist: {:?}", album_artist); } } @@ -63,34 +61,27 @@ fn move_files(file_path: PathBuf, tag: Tag) -> Result<(), Box