diff options
author | metamuffin <metamuffin@disroot.org> | 2023-01-26 21:45:29 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-01-26 21:45:29 +0100 |
commit | 04e3ebfdda613be0e58290a49536116cc57ad147 (patch) | |
tree | f694064c74e35ddb49fd900a83885e5874a78448 /server/src/routes/stream.rs | |
parent | c715d411f465ef742ba76866dfb177f71598b69c (diff) | |
download | jellything-04e3ebfdda613be0e58290a49536116cc57ad147.tar jellything-04e3ebfdda613be0e58290a49536116cc57ad147.tar.bz2 jellything-04e3ebfdda613be0e58290a49536116cc57ad147.tar.zst |
mhh
Diffstat (limited to 'server/src/routes/stream.rs')
-rw-r--r-- | server/src/routes/stream.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/routes/stream.rs b/server/src/routes/stream.rs index eb7bc13..469ad07 100644 --- a/server/src/routes/stream.rs +++ b/server/src/routes/stream.rs @@ -3,7 +3,7 @@ which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2023 metamuffin <metamuffin.org> */ -use super::ui::error::MyError; +use super::ui::{account::session::Session, error::MyError}; use crate::library::Library; use anyhow::{anyhow, Context, Result}; use jellyremuxer::RemuxerContext; @@ -37,6 +37,7 @@ pub fn stream_uri(path: &PathBuf, tracks: &Vec<u64>, webm: bool) -> String { #[get("/stream/<path..>?<tracks>&<webm>")] pub fn r_stream( + _sess: Session, path: PathBuf, webm: Option<bool>, tracks: String, |