Compare commits
3 Commits
main
...
39ee3a6dfb
| Author | SHA1 | Date | |
|---|---|---|---|
|
39ee3a6dfb
|
|||
|
6727d44496
|
|||
|
9096d02e79
|
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -521,7 +521,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "icarus_models"
|
name = "icarus_models"
|
||||||
version = "0.9.2"
|
version = "0.9.2"
|
||||||
source = "git+ssh://git@git.kundeng.us/phoenix/icarus_models.git?tag=v0.9.2#05525618514409101c1d6474dafb201386d14a30"
|
source = "git+ssh://git@git.kundeng.us/phoenix/icarus_models.git?tag=v0.9.2-91-d121dbb06f-111#d121dbb06fd2605e8789b37245f2e1af083edd00"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"josekit",
|
"josekit",
|
||||||
"rand",
|
"rand",
|
||||||
@@ -1322,7 +1322,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "songparser"
|
name = "songparser"
|
||||||
version = "0.4.12"
|
version = "0.4.11"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures",
|
"futures",
|
||||||
"icarus_envy",
|
"icarus_envy",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "songparser"
|
name = "songparser"
|
||||||
version = "0.4.12"
|
version = "0.4.11"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.90"
|
rust-version = "1.90"
|
||||||
|
|
||||||
@@ -14,5 +14,5 @@ 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" }
|
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" }
|
icarus_models = { git = "ssh://git@git.kundeng.us/phoenix/icarus_models.git", tag = "v0.9.2-91-d121dbb06f-111" }
|
||||||
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" }
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
|
println!("Token: {:?}", app.token);
|
||||||
|
|
||||||
if app.token.token_expired() {
|
if app.token.token_expired() {
|
||||||
println!("Token expired");
|
println!("Token expired");
|
||||||
app.token = match auth::get_refresh_token(&app).await {
|
app.token = match auth::get_refresh_token(&app).await {
|
||||||
|
|||||||
@@ -197,10 +197,6 @@ pub async fn process_coverart(
|
|||||||
"Saved coverart queue file at: {:?}",
|
"Saved coverart queue file at: {:?}",
|
||||||
queued_coverart.path
|
queued_coverart.path
|
||||||
);
|
);
|
||||||
println!(
|
|
||||||
"Queued CoverArt file type: {:?}",
|
|
||||||
queued_coverart.coverart.file_type
|
|
||||||
);
|
|
||||||
|
|
||||||
Ok(queued_coverart)
|
Ok(queued_coverart)
|
||||||
}
|
}
|
||||||
@@ -241,7 +237,6 @@ async fn init_queued_coverart(
|
|||||||
panic!("Error initializing queued CoverArt");
|
panic!("Error initializing queued CoverArt");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
file_type: String::from(file_type),
|
|
||||||
data: bytes,
|
data: bytes,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user