diff --git a/src/meta.rs b/src/meta.rs index 7cb6088..b3e4174 100644 --- a/src/meta.rs +++ b/src/meta.rs @@ -275,9 +275,6 @@ pub mod metadata { #[cfg(test)] mod tests { - - // use super::*; - mod get { use super::super::metadata::get_meta; use crate::test_util::util; diff --git a/src/properties.rs b/src/properties.rs index 288fb3c..3e28031 100644 --- a/src/properties.rs +++ b/src/properties.rs @@ -1,10 +1,5 @@ use lofty::file::AudioFile; -#[derive(Debug, Default, Clone)] -pub struct Duration { - pub val: i32, -} - pub fn get_duration(song_path: &String) -> Result { match std::fs::File::open(song_path) { Ok(mut content) => { diff --git a/src/types.rs b/src/types.rs index 9abb612..05a30b0 100644 --- a/src/types.rs +++ b/src/types.rs @@ -32,11 +32,6 @@ impl MetadataType { } } -#[derive(Debug)] -pub enum Properties { - Duration, -} - pub fn all_metadata_types() -> Vec { vec![ Type::Album,