From 19b0737715539a8fa080032267fd81ad4de8515a Mon Sep 17 00:00:00 2001 From: Rilic Date: Sun, 16 Jul 2023 18:29:42 +0100 Subject: [PATCH] Fix the boxart not being found for some games. I overthought this problem way too hard lmao --- src/importer/sources/retroarch_source.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/importer/sources/retroarch_source.py b/src/importer/sources/retroarch_source.py index e3992f6..fe2fb11 100644 --- a/src/importer/sources/retroarch_source.py +++ b/src/importer/sources/retroarch_source.py @@ -81,7 +81,8 @@ class RetroarchSourceIterator(SourceIterator): additional_data = {} # Get boxart - boxart_image_name = item["label"].split(".", 1)[0] + ".png" + boxart_image_name = item["label"] + ".png" + boxart_image_name = boxart_image_name.replace("&", "_") boxart_folder_name = playlist_file.name.split(".", 1)[0] image_path = ( self.source.config_location["thumbnails"]