mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
🔶 fix saving image names with / in them
This commit is contained in:
committed by
Mungai Geoffrey
parent
9c808aa817
commit
9c16d27507
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user