diff options
author | metamuffin <metamuffin@disroot.org> | 2023-01-17 23:08:57 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-01-17 23:08:57 +0100 |
commit | 5aa557e864bd2cf940e7164b7568e7e545817306 (patch) | |
tree | 6eec3a834c4217dbf1208dc9b34bb7debddb1d9c /common | |
parent | cda5929b5176947490bcf0f661f61b4b9d5ea7c1 (diff) | |
download | jellything-5aa557e864bd2cf940e7164b7568e7e545817306.tar jellything-5aa557e864bd2cf940e7164b7568e7e545817306.tar.bz2 jellything-5aa557e864bd2cf940e7164b7568e7e545817306.tar.zst |
wokrs
Diffstat (limited to 'common')
-rw-r--r-- | common/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index 0eacc42..d9e443b 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -12,6 +12,7 @@ pub struct DirectoryInfo { pub struct ItemInfo { pub title: String, pub duration: f64, // in seconds + pub path: String, pub tracks: BTreeMap<u64, SourceTrack>, } @@ -21,6 +22,7 @@ pub struct SourceTrack { pub name: String, pub codec: String, pub language: String, + pub default_duration: Option<u64>, pub codec_private: Option<Vec<u8>>, } |