diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-26 16:43:05 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-26 16:43:05 +0100 |
commit | 87b2d240bf56d080814a9f787c863067ca4e234c (patch) | |
tree | ecf6c74f1441cf9aad237375f6367635a1c3cc4b /server/src | |
parent | fefe914ce6dd5aa2d17686ff794b0a8f801a6d5a (diff) | |
download | jellything-87b2d240bf56d080814a9f787c863067ca4e234c.tar jellything-87b2d240bf56d080814a9f787c863067ca4e234c.tar.bz2 jellything-87b2d240bf56d080814a9f787c863067ca4e234c.tar.zst |
fix relative path on thumbnails
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/routes/ui/assets.rs | 2 |
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 |