Compare commits
2 Commits
39ee3a6dfb
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 36c079fd87 | |||
| 73eedf829d |
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -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",
|
||||
|
||||
@@ -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" }
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user