🔶 fix saving image names with / in them

This commit is contained in:
geoffrey45 2022-04-03 13:42:32 +03:00 committed by Mungai Geoffrey
parent 9c808aa817
commit 9c16d27507
2 changed files with 2 additions and 6 deletions

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:

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">