coverArtQueue change #60
@@ -433,9 +433,11 @@ pub async fn generate_coverart_queue_dir_and_filename(file_type: &str) -> (Strin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
filename += if file_type == "jpeg" || file_type == "jpg" {
|
filename += if file_type == icarus_meta::detection::coverart::constants::JPEG_TYPE
|
||||||
|
|| file_type == icarus_meta::detection::coverart::constants::JPG_TYPE
|
||||||
|
{
|
||||||
".jpeg"
|
".jpeg"
|
||||||
} else if file_type == "png" {
|
} else if file_type == icarus_meta::detection::coverart::constants::PNG_TYPE {
|
||||||
".png"
|
".png"
|
||||||
} else {
|
} else {
|
||||||
""
|
""
|
||||||
|
|||||||
Reference in New Issue
Block a user