remove_picture #23

Merged
phoenix merged 8 commits from remove_picture into devel 2025-04-19 01:07:52 +00:00
Showing only changes of commit d4258b9bcc - Show all commits

View File

@@ -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();