tsk-72: Separating directory and filename from path in coverart #74

Merged
phoenix merged 9 commits from tsk-72 into next-v0.8 2025-10-19 00:48:50 +00:00
Showing only changes of commit 3c6675de1e - Show all commits

View File

@@ -7,6 +7,9 @@ pub struct CoverArt {
pub id: uuid::Uuid, pub id: uuid::Uuid,
pub title: String, pub title: String,
#[serde(skip)] #[serde(skip)]
pub directory: String,
pub filename: String,
#[serde(skip)]
pub path: String, pub path: String,
#[serde(skip)] #[serde(skip)]
pub data: Vec<u8>, pub data: Vec<u8>,
@@ -23,6 +26,7 @@ pub mod init {
path: path.clone(), path: path.clone(),
data: Vec::new(), data: Vec::new(),
song_id: uuid::Uuid::nil(), song_id: uuid::Uuid::nil(),
..Default::default()
} }
} }
} }