diff options
author | metamuffin <metamuffin@disroot.org> | 2023-12-23 00:43:42 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-12-23 00:43:42 +0100 |
commit | 0b53d68b214b022a4ae6292785c165ad95e71696 (patch) | |
tree | 1532b6619fd2598af1c73018b7ec339145d81602 /common/src/stream.rs | |
parent | 75949cebdd61dd8f0d06f2e47081c460e2a442f0 (diff) | |
download | jellything-0b53d68b214b022a4ae6292785c165ad95e71696.tar jellything-0b53d68b214b022a4ae6292785c165ad95e71696.tar.bz2 jellything-0b53d68b214b022a4ae6292785c165ad95e71696.tar.zst |
rework ~~import~~ system pt. 8.1: update the player to new format
Diffstat (limited to 'common/src/stream.rs')
-rw-r--r-- | common/src/stream.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/src/stream.rs b/common/src/stream.rs index aa1b931..4aa51d3 100644 --- a/common/src/stream.rs +++ b/common/src/stream.rs @@ -26,8 +26,8 @@ pub enum StreamFormat { #[cfg_attr(feature = "rocket", field(value = "matroska"))] Matroska, #[cfg_attr(feature = "rocket", field(value = "hlsmaster"))] HlsMaster, #[cfg_attr(feature = "rocket", field(value = "hlsvariant"))] HlsVariant, - #[cfg_attr(feature = "rocket", field(value = "jhls"))] Jhls, - #[cfg_attr(feature = "rocket", field(value = "hlsseg"))] Segment, + #[cfg_attr(feature = "rocket", field(value = "jhlsi"))] JhlsIndex, + #[cfg_attr(feature = "rocket", field(value = "snippet"))] Snippet, #[cfg_attr(feature = "rocket", field(value = "webvtt"))] Webvtt, } @@ -81,8 +81,8 @@ impl StreamFormat { StreamFormat::Matroska => "matroska", StreamFormat::HlsMaster => "hlsmaster", StreamFormat::HlsVariant => "hlsvariant", - StreamFormat::Jhls => "jhls", - StreamFormat::Segment => "hlsseg", + StreamFormat::JhlsIndex => "jhlsi", + StreamFormat::Snippet => "snippet", StreamFormat::Webvtt => "webvtt", } } |