From 64c962b50d4fbd4605087fc97eac1a032bb826ce Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 2 Feb 2025 12:31:44 +0100 Subject: consistent fragment naming --- stream/src/jhls.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stream') diff --git a/stream/src/jhls.rs b/stream/src/jhls.rs index 79fc5fe..b222e39 100644 --- a/stream/src/jhls.rs +++ b/stream/src/jhls.rs @@ -29,7 +29,7 @@ pub async fn jhls_index( .ok_or(anyhow!("track missing"))? .to_owned(); - let segments = tokio::task::spawn_blocking(move || { + let fragments = tokio::task::spawn_blocking(move || { jellyremuxer::fragment::fragment_index(&CONF.media_path, &node, &local_track, spec.track[0]) }) .await??; @@ -40,7 +40,7 @@ pub async fn jhls_index( } else { vec![] }, - segments, + fragments, })?; tokio::spawn(async move { b.write_all(out.as_bytes()).await }); Ok(()) -- cgit v1.2.3-70-g09d2