From c9923cbca174e5fe6c315e8d1f29bc3d97edd53a Mon Sep 17 00:00:00 2001 From: simp Date: Sat, 7 Jun 2025 11:06:11 -0400 Subject: [PATCH] rename images on copy to same as song for music.simp --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 84f5bf8..d66b3d0 100755 --- a/app.py +++ b/app.py @@ -1070,7 +1070,7 @@ class Irc_bot: ex_ = os.path.exists(img_location) if ex_: ftype = fname.split('.')[1] - playlist_image = os.path.join(playlist_directory, f"{v['title']}.{ftype}") + playlist_image = os.path.join(playlist_directory, f"{rm_na_space(v['title'])}.{ftype}") shutil.copyfile(img_location, playlist_image, follow_symlinks = True) log.info(f"[Copied image to i2music] {rm_na_space(v['title'])}.{ftype}") completed += 1