diff options
author | metamuffin <metamuffin@disroot.org> | 2025-04-30 11:46:28 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-04-30 11:46:28 +0200 |
commit | 35ae80f183904466667af73c7921b4ade399569a (patch) | |
tree | 3a7eec95debbd9ba292436ff989742b8a9b1dff4 /server/src/compat | |
parent | d6a039a10ac3c81d410beb9b648d29524ca1e278 (diff) | |
download | jellything-35ae80f183904466667af73c7921b4ade399569a.tar jellything-35ae80f183904466667af73c7921b4ade399569a.tar.bz2 jellything-35ae80f183904466667af73c7921b4ade399569a.tar.zst |
split base into asset_token and db
Diffstat (limited to 'server/src/compat')
-rw-r--r-- | server/src/compat/jellyfin/mod.rs | 3 | ||||
-rw-r--r-- | server/src/compat/youtube.rs | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/server/src/compat/jellyfin/mod.rs b/server/src/compat/jellyfin/mod.rs index 1c602ca..e8a74d7 100644 --- a/server/src/compat/jellyfin/mod.rs +++ b/server/src/compat/jellyfin/mod.rs @@ -7,7 +7,6 @@ pub mod models; use crate::{helper::A, ui::error::MyResult}; use anyhow::{anyhow, Context}; -use jellybase::database::Database; use jellycommon::{ api::{FilterProperty, NodeFilterSort, SortOrder, SortProperty}, routes::{u_asset, u_node_slug_backdrop, u_node_slug_poster}, @@ -17,7 +16,7 @@ use jellycommon::{ }; use jellylogic::{ filter_sort::filter_and_sort_nodes, login::login_logic, node::DatabaseNodeUserDataExt, - session::Session, + session::Session, Database, }; use jellyui::{get_brand, get_slogan, node_page::aspect_class}; use models::*; diff --git a/server/src/compat/youtube.rs b/server/src/compat/youtube.rs index 67a34fc..0a69d14 100644 --- a/server/src/compat/youtube.rs +++ b/server/src/compat/youtube.rs @@ -5,9 +5,8 @@ */ use crate::{helper::A, ui::error::MyResult}; use anyhow::anyhow; -use jellybase::database::Database; use jellycommon::routes::{u_node_slug, u_node_slug_player}; -use jellylogic::session::Session; +use jellylogic::{session::Session, Database}; use rocket::{get, response::Redirect, State}; #[get("/watch?<v>")] |