diff options
author | metamuffin <metamuffin@disroot.org> | 2025-09-12 13:54:04 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-09-12 13:54:04 +0200 |
commit | e99bde7a00a161ff5dd91eaf1ce546a9d98cef05 (patch) | |
tree | 454c2de6fae85720064b35593158e612b2d9fefb /stream/src/lib.rs | |
parent | 356b3b8eebf22083c7d9655bb43e141dd0df732c (diff) | |
download | jellything-e99bde7a00a161ff5dd91eaf1ce546a9d98cef05.tar jellything-e99bde7a00a161ff5dd91eaf1ce546a9d98cef05.tar.bz2 jellything-e99bde7a00a161ff5dd91eaf1ce546a9d98cef05.tar.zst |
move stream types to own crate; removes a common dep
Diffstat (limited to 'stream/src/lib.rs')
-rw-r--r-- | stream/src/lib.rs | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/stream/src/lib.rs b/stream/src/lib.rs index 9c62ac8..5b4e8ed 100644 --- a/stream/src/lib.rs +++ b/stream/src/lib.rs @@ -4,20 +4,17 @@ Copyright (C) 2025 metamuffin <metamuffin.org> */ #![feature(iterator_try_collect)] -pub mod fragment; -pub mod fragment_index; -pub mod hls; -pub mod stream_info; -pub mod webvtt; +mod fragment; +mod fragment_index; +mod hls; +mod stream_info; +mod webvtt; use anyhow::{anyhow, bail, Context, Result}; use fragment::fragment_stream; use fragment_index::fragment_index_stream; use hls::{hls_multivariant_stream, hls_supermultivariant_stream, hls_variant_stream}; -use jellycommon::{ - stream::{StreamContainer, StreamSpec}, - Node, -}; +use jellystream_types::{StreamContainer, StreamSpec}; use serde::{Deserialize, Serialize}; use std::{ collections::BTreeSet, @@ -53,7 +50,7 @@ static CONF: LazyLock<Config> = LazyLock::new(|| { #[derive(Debug)] pub struct SMediaInfo { - pub info: Arc<Node>, + pub title: Option<String>, pub files: BTreeSet<PathBuf>, } |