aboutsummaryrefslogtreecommitdiff
path: root/stream/src/stream_info.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-12 13:54:04 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-12 13:54:04 +0200
commite99bde7a00a161ff5dd91eaf1ce546a9d98cef05 (patch)
tree454c2de6fae85720064b35593158e612b2d9fefb /stream/src/stream_info.rs
parent356b3b8eebf22083c7d9655bb43e141dd0df732c (diff)
downloadjellything-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/stream_info.rs')
-rw-r--r--stream/src/stream_info.rs8
1 files changed, 4 insertions, 4 deletions
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<SMediaInfo>) -> Result<(InternalStream
track_to_file,
},
StreamInfo {
- name: info.info.title.clone(),
+ name: info.title.clone(),
segments: vec![segment],
},
))