aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-06-14 22:04:31 +0200
committermetamuffin <metamuffin@disroot.org>2023-06-14 22:04:31 +0200
commit50be406bbf448d93a2c669419b494797cdde675e (patch)
treec35e228e906249240f11fabe5216f38feda2a7d5 /common/src
parent16202a62e64a615d488f5bc376466029c31b00ad (diff)
downloadjellything-50be406bbf448d93a2c669419b494797cdde675e.tar
jellything-50be406bbf448d93a2c669419b494797cdde675e.tar.bz2
jellything-50be406bbf448d93a2c669419b494797cdde675e.tar.zst
show series as poster
Diffstat (limited to 'common/src')
-rw-r--r--common/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs
index 2e80744..fd69d8f 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -20,6 +20,8 @@ pub struct CommmonInfo {
pub poster: Option<PathBuf>,
#[serde(default)]
pub backdrop: Option<PathBuf>,
+ #[serde(default)]
+ pub index: Option<usize>,
}
#[derive(Debug, Clone, Deserialize, Serialize)]
@@ -38,8 +40,6 @@ pub struct ItemInfo {
pub tracks: BTreeMap<usize, SourceTrack>,
}
-
-
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(rename_all = "snake_case")]
pub enum DirectoryKind {