aboutsummaryrefslogtreecommitdiff
path: root/stream/src/jhls.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-29 18:03:06 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-29 18:03:06 +0100
commitdb511d3fe50f05329615f718515fab1b80d9e06a (patch)
tree7969fea01be100cbe4385ad13a14940a987ac513 /stream/src/jhls.rs
parent82e8a55a1496ae9132e13e7286fe1c0d57d586d3 (diff)
downloadjellything-db511d3fe50f05329615f718515fab1b80d9e06a.tar
jellything-db511d3fe50f05329615f718515fab1b80d9e06a.tar.bz2
jellything-db511d3fe50f05329615f718515fab1b80d9e06a.tar.zst
no direct redb access
Diffstat (limited to 'stream/src/jhls.rs')
-rw-r--r--stream/src/jhls.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/src/jhls.rs b/stream/src/jhls.rs
index b0de837..28d383f 100644
--- a/stream/src/jhls.rs
+++ b/stream/src/jhls.rs
@@ -11,10 +11,11 @@ use jellycommon::{
user::{PermissionSet, UserPermission},
LocalTrack, Node,
};
+use std::sync::Arc;
use tokio::io::{AsyncWriteExt, DuplexStream};
pub async fn jhls_index(
- node: Node,
+ node: Arc<Node>,
local_tracks: &[LocalTrack],
spec: StreamSpec,
mut b: DuplexStream,