From 965cce4c1f0b4d88761f4e2d6a6e9f5ecd659e82 Mon Sep 17 00:00:00 2001 From: phoenix Date: Wed, 22 Oct 2025 12:25:20 -0400 Subject: [PATCH] tsk-56: Replaced hard coded file extension --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 897f8c1..30f743c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -423,9 +423,9 @@ pub async fn generate_coverart_queue_dir_and_filename(file_type: &str) -> (Strin filename += if file_type == icarus_meta::detection::coverart::constants::JPEG_TYPE || file_type == icarus_meta::detection::coverart::constants::JPG_TYPE { - ".jpeg" + icarus_models::constants::file_extensions::image::JPEGEXTENSION } else if file_type == icarus_meta::detection::coverart::constants::PNG_TYPE { - ".png" + icarus_models::constants::file_extensions::image::PNGEXTENSION } else { "" };