mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-07-29 14:12:21 +00:00
🔶 fix saving image names with / in them
This commit is contained in:
parent
9c808aa817
commit
9c16d27507
@ -45,7 +45,7 @@ def get_album_image(album: list) -> str:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
for track in album:
|
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)
|
img = functions.extract_thumb(track["filepath"], webp_path=img_p)
|
||||||
|
|
||||||
if img is not None:
|
if img is not None:
|
||||||
|
@ -9,13 +9,9 @@
|
|||||||
<div class="duration">4 Tracks • 3 Hours</div>
|
<div class="duration">4 Tracks • 3 Hours</div>
|
||||||
<div class="desc">
|
<div class="desc">
|
||||||
{{ props.info.desc[0] }}
|
{{ 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>
|
||||||
<div class="title ellip">{{ props.info.name }}</div>
|
<div class="title ellip">{{ props.info.name }}</div>
|
||||||
<div class="type">❤ Playlist</div>
|
<div class="type">Playlist</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="last-updated">
|
<div class="last-updated">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user