Refactoring #67
@@ -234,13 +234,11 @@ async fn init_queued_coverart(
|
|||||||
};
|
};
|
||||||
coverart.save_to_filesystem().unwrap();
|
coverart.save_to_filesystem().unwrap();
|
||||||
let coverart_queue_fs_path = coverart.get_path().unwrap();
|
let coverart_queue_fs_path = coverart.get_path().unwrap();
|
||||||
let queued_coverart = crate::queued_item::QueuedCoverArt {
|
crate::queued_item::QueuedCoverArt {
|
||||||
id: *coverart_queue_id,
|
id: *coverart_queue_id,
|
||||||
coverart,
|
coverart,
|
||||||
path: coverart_queue_fs_path,
|
path: coverart_queue_fs_path,
|
||||||
};
|
}
|
||||||
|
|
||||||
queued_coverart
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn cleanup(
|
pub async fn cleanup(
|
||||||
|
|||||||
Reference in New Issue
Block a user