From c639d774cf344e29a943b60401e6a5119116a357 Mon Sep 17 00:00:00 2001 From: Ade Date: Fri, 18 Jul 2014 19:35:40 +1200 Subject: [PATCH] Album Art Folder Naming fix --- headphones/postprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index e8f18d28..15e5eb29 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -542,7 +542,7 @@ def addAlbumArt(artwork, albumpath, release): album_art_name = album_art_name.replace(' ', '_') if album_art_name.startswith('.'): - album_art_name = album_art_name.replace(0, '_') + album_art_name = album_art_name.replace(".", "_", 1) try: file = open(os.path.join(albumpath, album_art_name), 'wb')