aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'common/src')
-rw-r--r--common/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs
index c4eac09..0eacc42 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -12,7 +12,7 @@ pub struct DirectoryInfo {
pub struct ItemInfo {
pub title: String,
pub duration: f64, // in seconds
- pub tracks: BTreeMap<usize, SourceTrack>,
+ pub tracks: BTreeMap<u64, SourceTrack>,
}
#[derive(Debug, Clone, Deserialize, Serialize)]
@@ -21,6 +21,7 @@ pub struct SourceTrack {
pub name: String,
pub codec: String,
pub language: String,
+ pub codec_private: Option<Vec<u8>>,
}
#[derive(Debug, Clone, Deserialize, Serialize)]