Compare commits

..

2 Commits

Author SHA1 Message Date
36c079fd87 tsk-68: Saving file_type from CoverArt (#70)
All checks were successful
Rust Build / Check (push) Successful in 36s
Rust Build / Test Suite (push) Successful in 36s
Rust Build / Rustfmt (push) Successful in 29s
Rust Build / Clippy (push) Successful in 36s
Rust Build / build (push) Successful in 42s
Closes #68

Reviewed-on: #70
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-10-30 20:25:38 +00:00
73eedf829d icarus_models version bump (#69)
All checks were successful
Rust Build / Check (push) Successful in 34s
Rust Build / Test Suite (push) Successful in 36s
Rust Build / Rustfmt (push) Successful in 29s
Rust Build / Clippy (push) Successful in 35s
Rust Build / build (push) Successful in 42s
Reviewed-on: #69
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-10-30 19:36:06 +00:00
4 changed files with 9 additions and 6 deletions

4
Cargo.lock generated
View File

@@ -521,7 +521,7 @@ dependencies = [
[[package]]
name = "icarus_models"
version = "0.9.2"
source = "git+ssh://git@git.kundeng.us/phoenix/icarus_models.git?tag=v0.9.2-91-d121dbb06f-111#d121dbb06fd2605e8789b37245f2e1af083edd00"
source = "git+ssh://git@git.kundeng.us/phoenix/icarus_models.git?tag=v0.9.2#05525618514409101c1d6474dafb201386d14a30"
dependencies = [
"josekit",
"rand",
@@ -1322,7 +1322,7 @@ dependencies = [
[[package]]
name = "songparser"
version = "0.4.11"
version = "0.4.12"
dependencies = [
"futures",
"icarus_envy",

View File

@@ -1,6 +1,6 @@
[package]
name = "songparser"
version = "0.4.11"
version = "0.4.12"
edition = "2024"
rust-version = "1.90"
@@ -14,5 +14,5 @@ time = { version = "0.3.44", features = ["macros", "serde"] }
uuid = { version = "1.18.1", features = ["v4", "serde"] }
rand = { version = "0.9.2" }
icarus_meta = { git = "ssh://git@git.kundeng.us/phoenix/icarus_meta.git", tag = "v0.4.3" }
icarus_models = { git = "ssh://git@git.kundeng.us/phoenix/icarus_models.git", tag = "v0.9.2-91-d121dbb06f-111" }
icarus_models = { git = "ssh://git@git.kundeng.us/phoenix/icarus_models.git", tag = "v0.9.2" }
icarus_envy = { git = "ssh://git@git.kundeng.us/phoenix/icarus_envy.git", tag = "v0.5.0" }

View File

@@ -39,8 +39,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
};
loop {
println!("Token: {:?}", app.token);
if app.token.token_expired() {
println!("Token expired");
app.token = match auth::get_refresh_token(&app).await {

View File

@@ -197,6 +197,10 @@ pub async fn process_coverart(
"Saved coverart queue file at: {:?}",
queued_coverart.path
);
println!(
"Queued CoverArt file type: {:?}",
queued_coverart.coverart.file_type
);
Ok(queued_coverart)
}
@@ -237,6 +241,7 @@ async fn init_queued_coverart(
panic!("Error initializing queued CoverArt");
}
},
file_type: String::from(file_type),
data: bytes,
..Default::default()
};