Fix the boxart not being found for some games.

I overthought this problem way too hard lmao
This commit is contained in:
Rilic
2023-07-16 18:29:42 +01:00
parent 06de79ad54
commit 19b0737715

View File

@@ -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"]