tsk-212: Identify type of CoverArt #214

Merged
kdeng00 merged 11 commits from tsk-212 into main 2025-10-21 22:24:52 -04:00
Showing only changes of commit bd6027f9fb - Show all commits
+3 -3
View File
@@ -502,9 +502,9 @@ pub mod cov_db {
mod helper { mod helper {
pub fn is_coverart_file_type_valid(file_type: &String) -> bool { pub fn is_coverart_file_type_valid(file_type: &String) -> bool {
let valid_file_types = vec![ let valid_file_types = vec![
String::from("png"), String::from(icarus_meta::detection::coverart::constants::JPEG_TYPE),
String::from("jpg"), String::from(icarus_meta::detection::coverart::constants::JPG_TYPE),
String::from("jpeg"), String::from(icarus_meta::detection::coverart::constants::PNG_TYPE),
]; ];
for valid_file_type in valid_file_types { for valid_file_type in valid_file_types {