🔶 fix saving image names with / in them

This commit is contained in:
geoffrey45 authored and Mungai Geoffrey committed 2022-04-03 13:47:28 +03:00
1 parent 9c808aa817
commit 9c16d27507
2 files changed
+2 -6

No files matched your search

+1 -1
View File
@@ -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:
+1 -5
View File
@@ -9,13 +9,9 @@
<div class="duration">4 Tracks • 3 Hours</div>
<div class="desc">
{{ 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
</div>
<div class="title ellip">{{ props.info.name }}</div>
<div class="type">❤ Playlist</div>
<div class="type">Playlist</div>
</div>
</div>
<div class="last-updated">