tsk-72: Adding directory and filename to coverart
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user