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/stream_info.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stream/src/stream_info.rs') diff --git a/stream/src/stream_info.rs b/stream/src/stream_info.rs index 920ce69..560ec9b 100644 --- a/stream/src/stream_info.rs +++ b/stream/src/stream_info.rs @@ -5,13 +5,13 @@ */ use crate::{SMediaInfo, CONF}; use anyhow::Result; -use jellycommon::stream::{ - StreamContainer, StreamFormatInfo, StreamInfo, StreamSegmentInfo, StreamTrackInfo, TrackKind, -}; use jellyremuxer::{ metadata::{matroska_metadata, MatroskaMetadata, MatroskaTrackEntry}, seek_index::get_track_sizes, }; +use jellystream_types::{ + StreamContainer, StreamFormatInfo, StreamInfo, StreamSegmentInfo, StreamTrackInfo, TrackKind, +}; use std::{collections::BTreeMap, path::PathBuf, sync::Arc}; use tokio::{ io::{AsyncWriteExt, DuplexStream}, @@ -76,7 +76,7 @@ pub(crate) async fn stream_info(info: Arc) -> Result<(InternalStream track_to_file, }, StreamInfo { - name: info.info.title.clone(), + name: info.title.clone(), segments: vec![segment], }, )) -- cgit v1.2.3-70-g09d2