Warning fixes
All checks were successful
Rust Build / Check (pull_request) Successful in 29s
Rust Build / Test Suite (pull_request) Successful in 31s
Rust Build / Rustfmt (pull_request) Successful in 22s
Rust Build / Clippy (pull_request) Successful in 30s
Rust Build / build (pull_request) Successful in 35s

This commit is contained in:
2025-06-18 20:49:28 -04:00
parent 1945c2357f
commit 1548c9d80f

View File

@@ -89,7 +89,7 @@ async fn process_song(api_url: &String, song_queue_id: &uuid::Uuid) -> Result<()
let coverart_queue_id = &response.data[0].id;
println!("Coverart queue Id: {:?}", coverart_queue_id);
match api::get_coverart_queue::get_data(api_url, &coverart_queue_id).await {
match api::get_coverart_queue::get_data(api_url, coverart_queue_id).await {
Ok(response) => match api::parsing::parse_response_into_bytes(response).await {
Ok(coverart_queue_bytes) => {
let (directory, filename) = generate_coverart_queue_dir_and_filename().await;
@@ -174,7 +174,7 @@ pub async fn generate_coverart_queue_dir_and_filename() -> (String, String) {
}
// TODO: Do not hard code the file extension
filename = filename + ".jpeg";
filename += ".jpeg";
// TODO: Consider separating song and coverart when saving to the filesystem
let directory = icarus_envy::environment::get_root_directory().await;