aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-01-26 16:43:05 +0100
committermetamuffin <metamuffin@disroot.org>2024-01-26 16:43:05 +0100
commit87b2d240bf56d080814a9f787c863067ca4e234c (patch)
treeecf6c74f1441cf9aad237375f6367635a1c3cc4b /server/src/routes/ui
parentfefe914ce6dd5aa2d17686ff794b0a8f801a6d5a (diff)
downloadjellything-87b2d240bf56d080814a9f787c863067ca4e234c.tar
jellything-87b2d240bf56d080814a9f787c863067ca4e234c.tar.bz2
jellything-87b2d240bf56d080814a9f787c863067ca4e234c.tar.zst
fix relative path on thumbnails
Diffstat (limited to 'server/src/routes/ui')
-rw-r--r--server/src/routes/ui/assets.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/routes/ui/assets.rs b/server/src/routes/ui/assets.rs
index 0290566..8dedc57 100644
--- a/server/src/routes/ui/assets.rs
+++ b/server/src/routes/ui/assets.rs
@@ -166,7 +166,7 @@ pub async fn r_node_thumbnail(
let asset = match thumb_track_source {
TrackSource::Local(LocalTrack { path, .. }) => {
// the track selected might be different from thumb_track
- jellytranscoder::thumbnail::create_thumbnail(path, t).await?
+ jellytranscoder::thumbnail::create_thumbnail(&CONF.library_path.join(path), t).await?
}
TrackSource::Remote(_) => {
// TODO in the new system this is preferrably a property of node ext for regular fed