aboutsummaryrefslogtreecommitdiff
path: root/stream/src/jhls.rs
diff options
context:
space:
mode:
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,