tsk-62: Build fix
All checks were successful
Rust Build / Check (pull_request) Successful in 45s
Rust Build / Rustfmt (pull_request) Successful in 34s
Rust Build / Clippy (pull_request) Successful in 41s
Rust Build / build (pull_request) Successful in 45s
Rust Build / Test Suite (pull_request) Successful in 45s
All checks were successful
Rust Build / Check (pull_request) Successful in 45s
Rust Build / Rustfmt (pull_request) Successful in 34s
Rust Build / Clippy (pull_request) Successful in 41s
Rust Build / build (pull_request) Successful in 45s
Rust Build / Test Suite (pull_request) Successful in 45s
This commit is contained in:
16
src/main.rs
16
src/main.rs
@@ -60,13 +60,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let user_id = song_queue_item.data[0].user_id;
|
||||
|
||||
match some_work(&app, &song_queue_id, &user_id).await {
|
||||
Ok((
|
||||
song,
|
||||
coverart,
|
||||
_metadata,
|
||||
queued_song,
|
||||
queued_coverart,
|
||||
)) => {
|
||||
Ok((song, coverart, _metadata, queued_song, queued_coverart)) => {
|
||||
match wipe_data_from_queues(&app, &queued_song, &queued_coverart).await
|
||||
{
|
||||
Ok(_) => match cleanup(&song, &coverart).await {
|
||||
@@ -187,11 +181,7 @@ async fn some_work(
|
||||
std::io::Error,
|
||||
> {
|
||||
match prep_song(app, song_queue_id).await {
|
||||
Ok((
|
||||
queued_song,
|
||||
queued_coverart,
|
||||
metadata,
|
||||
)) => {
|
||||
Ok((queued_song, queued_coverart, metadata)) => {
|
||||
println!("Prepping song");
|
||||
|
||||
match metadata::apply_metadata(&queued_song, &queued_coverart, &metadata).await {
|
||||
@@ -354,7 +344,7 @@ async fn prep_song(
|
||||
|
||||
let queued_coverart = queued_item::QueuedCoverArt {
|
||||
id: coverart_queue_id,
|
||||
coverart
|
||||
coverart,
|
||||
path: coverart_queue_fs_path
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user