Get queued coverart #25

Merged
phoenix merged 3 commits from get_queued_coverart into devel 2025-06-18 01:07:04 +00:00
Showing only changes of commit df6ccc2671 - Show all commits

View File

@@ -83,12 +83,10 @@ async fn process_song(api_url: &String, song_queue_id: &uuid::Uuid) -> Result<()
println!("Getting coverart queue");
match api::get_coverart_queue::get(api_url, song_queue_id).await {
Ok(response) => {
println!("Parsing response: {:?}", response);
match response.json::<api::get_coverart_queue::response::Response>().await {
Ok(response) => {
let coverart_queue_id = &response.data[0].id;
println!("Coverart queue Id: {:?}", coverart_queue_id);
// TODO: Get queued coverart
// TODO: Get queued coverart's data
// TODO: Apply metadata to the queued song (modifying file)
// TODO: Update the queued song with the updated queued song