diff --git a/src/meta.rs b/src/meta.rs index 4013710..42c3661 100644 --- a/src/meta.rs +++ b/src/meta.rs @@ -108,15 +108,6 @@ pub mod coverart { Ok((true, res.len())) } } - - /* - if !res.is_empty() { - let picture = &res[0]; - Ok(picture.clone().0.into_data()) - } else { - Ok(Vec::new()) - } - */ } Err(err) => Err(std::io::Error::new( std::io::ErrorKind::InvalidData, @@ -989,9 +980,6 @@ mod tests { let filename = util::get_filename(1); let dir = String::from(util::TESTFILEDIRECTORY); - // let new_coverart = String::from("Sample Tracks 3 - Other one.png"); - // let new_cover_art_path = get_full_path(&dir, &new_coverart).unwrap(); - match file_exists(&dir, &filename) { Ok(_) => { let filepath = get_full_path(&dir, &filename).unwrap();