From 9c16d27507d3e8962e0113ef3eff8842b1615386 Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Sun, 3 Apr 2022 13:42:32 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=B6=20fix=20saving=20image=20names=20w?= =?UTF-8?q?ith=20/=20in=20them?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/app/lib/albumslib.py | 2 +- src/components/PlaylistView/Header.vue | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/server/app/lib/albumslib.py b/server/app/lib/albumslib.py index 442b30c..c6a712d 100644 --- a/server/app/lib/albumslib.py +++ b/server/app/lib/albumslib.py @@ -45,7 +45,7 @@ def get_album_image(album: list) -> str: """ for track in album: - img_p = track["album"] + track["albumartist"] + ".webp" + img_p = (track["album"] + track["albumartist"] + ".webp").replace("/", "::") img = functions.extract_thumb(track["filepath"], webp_path=img_p) if img is not None: diff --git a/src/components/PlaylistView/Header.vue b/src/components/PlaylistView/Header.vue index d73262e..c3e7a1f 100644 --- a/src/components/PlaylistView/Header.vue +++ b/src/components/PlaylistView/Header.vue @@ -9,13 +9,9 @@
4 Tracks • 3 Hours
{{ props.info.desc[0] }} - Juice is a drink made from the extraction or pressing of the natural - liquid contained in fruit and vegetables. It can also refer to liquids - that are flavored with concentrate or other biological food sources, - such as meat or seafood, such as clam juice
{{ props.info.name }}
-
❤ Playlist
+
Playlist