diff options
author | metamuffin <metamuffin@disroot.org> | 2023-01-22 14:10:15 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-01-22 14:10:15 +0100 |
commit | ed870d1fc04891e79ab1d40be473a07810a62e69 (patch) | |
tree | 9955a00484b3311dfd4ea8121b7b4bb3654c0f86 /server/src/routes/ui/player.rs | |
parent | ec76bbe5398f51ffa55bfd315b30c0a07245d4e6 (diff) | |
download | jellything-ed870d1fc04891e79ab1d40be473a07810a62e69.tar jellything-ed870d1fc04891e79ab1d40be473a07810a62e69.tar.bz2 jellything-ed870d1fc04891e79ab1d40be473a07810a62e69.tar.zst |
clean again
Diffstat (limited to 'server/src/routes/ui/player.rs')
-rw-r--r-- | server/src/routes/ui/player.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/server/src/routes/ui/player.rs b/server/src/routes/ui/player.rs index 764f583..116b441 100644 --- a/server/src/routes/ui/player.rs +++ b/server/src/routes/ui/player.rs @@ -1,15 +1,14 @@ -use super::{account::session::Session, layout::LayoutPage, HtmlTemplate}; +use super::{account::session::Session, layout::LayoutPage}; use crate::{ library::{Item, Library}, routes::{ stream::stream_uri, - ui::{error::MyResult, layout::DynLayoutPage, node::rocket_uri_macro_r_item_assets}, + ui::{error::MyResult, layout::DynLayoutPage}, }, }; use jellycommon::SourceTrackKind; -use log::warn; -use rocket::{get, uri, FromForm, State}; -use std::{alloc::Layout, path::PathBuf, sync::Arc}; +use rocket::{get, FromForm, State}; +use std::{path::PathBuf, sync::Arc}; pub fn player_uri(path: &PathBuf) -> String { format!("/player/{}", path.to_str().unwrap()) |