tsk-62: Use QueuedSong and QueuedCoverArt to replace references to path of Song and CoverArt (#64)

Closes #62

Reviewed-on: #64
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-10-22 17:42:00 +00:00
committed by phoenix
parent 106867e5ee
commit bd351b1157
6 changed files with 93 additions and 98 deletions
+13
View File
@@ -0,0 +1,13 @@
#[derive(Clone, Debug, Default)]
pub struct QueuedSong {
pub id: uuid::Uuid,
pub song: icarus_models::song::Song,
pub path: String,
}
#[derive(Clone, Debug, Default)]
pub struct QueuedCoverArt {
pub id: uuid::Uuid,
pub coverart: icarus_models::coverart::CoverArt,
pub path: String,
}