From e99bde7a00a161ff5dd91eaf1ce546a9d98cef05 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 12 Sep 2025 13:54:04 +0200 Subject: move stream types to own crate; removes a common dep --- stream/src/lib.rs | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'stream/src/lib.rs') 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 */ #![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 = LazyLock::new(|| { #[derive(Debug)] pub struct SMediaInfo { - pub info: Arc, + pub title: Option, pub files: BTreeSet, } -- cgit v1.2.3-70-g09d2