Compare commits

..

2 Commits

Author SHA1 Message Date
e80bf36852 Replace code with constants
All checks were successful
Rust Build / Check (pull_request) Successful in 49s
Rust Build / Rustfmt (pull_request) Successful in 51s
Rust Build / Test Suite (pull_request) Successful in 52s
Rust Build / build (pull_request) Successful in 48s
Rust Build / Clippy (pull_request) Successful in 42s
2025-10-21 22:16:48 -04:00
2262965738 icarus_meta version bump 2025-10-21 22:16:27 -04:00
3 changed files with 6 additions and 4 deletions

2
Cargo.lock generated
View File

@@ -510,7 +510,7 @@ dependencies = [
[[package]] [[package]]
name = "icarus_meta" name = "icarus_meta"
version = "0.4.3" version = "0.4.3"
source = "git+ssh://git@git.kundeng.us/phoenix/icarus_meta.git?tag=v0.4.3-48-561d740120-680#561d740120d9d2e0224bff0c8a4d7d40c6230413" source = "git+ssh://git@git.kundeng.us/phoenix/icarus_meta.git?tag=v0.4.3-48-8acf220fc4-680#8acf220fc4a646090cfb54eff78aaa2f172bf882"
dependencies = [ dependencies = [
"imghdr", "imghdr",
"infer", "infer",

View File

@@ -13,6 +13,6 @@ serde_json = { version = "1.0.145" }
time = { version = "0.3.44", features = ["macros", "serde"] } time = { version = "0.3.44", features = ["macros", "serde"] }
uuid = { version = "1.18.1", features = ["v4", "serde"] } uuid = { version = "1.18.1", features = ["v4", "serde"] }
rand = { version = "0.9.2" } rand = { version = "0.9.2" }
icarus_meta = { git = "ssh://git@git.kundeng.us/phoenix/icarus_meta.git", tag = "v0.4.3-48-561d740120-680" } icarus_meta = { git = "ssh://git@git.kundeng.us/phoenix/icarus_meta.git", tag = "v0.4.3-48-8acf220fc4-680" }
icarus_models = { git = "ssh://git@git.kundeng.us/phoenix/icarus_models.git", tag = "v0.8.0" } icarus_models = { git = "ssh://git@git.kundeng.us/phoenix/icarus_models.git", tag = "v0.8.0" }
icarus_envy = { git = "ssh://git@git.kundeng.us/phoenix/icarus_envy.git", tag = "v0.5.0" } icarus_envy = { git = "ssh://git@git.kundeng.us/phoenix/icarus_envy.git", tag = "v0.5.0" }

View File

@@ -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 {
"" ""