aboutsummaryrefslogtreecommitdiff
path: root/common/src/jhls.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-10-01 16:02:41 +0200
committermetamuffin <metamuffin@disroot.org>2023-10-01 16:02:41 +0200
commit3c1c3325ecebd6f5c7bc33a107c6efc4cda8b3ea (patch)
tree895ea285ebc52bb4e0e044d044d466f8e41ef599 /common/src/jhls.rs
parent9559da7f56310e8b40e1bce0b073147b99301008 (diff)
downloadjellything-3c1c3325ecebd6f5c7bc33a107c6efc4cda8b3ea.tar
jellything-3c1c3325ecebd6f5c7bc33a107c6efc4cda8b3ea.tar.bz2
jellything-3c1c3325ecebd6f5c7bc33a107c6efc4cda8b3ea.tar.zst
jhls does not work bc segments to short
Diffstat (limited to 'common/src/jhls.rs')
-rw-r--r--common/src/jhls.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/src/jhls.rs b/common/src/jhls.rs
index e2cfa02..306161f 100644
--- a/common/src/jhls.rs
+++ b/common/src/jhls.rs
@@ -4,6 +4,7 @@ use std::ops::Range;
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct JhlsMetadata {
+ pub duration: f64,
pub tracks: Vec<JhlsTrack>,
}