Added function call to update queued song status
This commit is contained in:
@@ -458,6 +458,7 @@ impl CommitManager {
|
|||||||
.link_queued_song_to_queued_coverart(token, &queued_song_id, &id)
|
.link_queued_song_to_queued_coverart(token, &queued_song_id, &id)
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
|
Ok(_) => match up.update_queued_song_status(token, &queued_song_id, "ready").await {
|
||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
println!("Queued coverart Id: {id:?}");
|
println!("Queued coverart Id: {id:?}");
|
||||||
println!("Linked queued song to queued coverart");
|
println!("Linked queued song to queued coverart");
|
||||||
@@ -465,6 +466,10 @@ impl CommitManager {
|
|||||||
Err(err) => {
|
Err(err) => {
|
||||||
return Err(std::io::Error::other(err.to_string()));
|
return Err(std::io::Error::other(err.to_string()));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Err(err) => {
|
||||||
|
return Err(std::io::Error::other(err.to_string()));
|
||||||
|
}
|
||||||
},
|
},
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
return Err(std::io::Error::other(err.to_string()));
|
return Err(std::io::Error::other(err.to_string()));
|
||||||
|
|||||||
Reference in New Issue
Block a user