From 8ea6f2a8974c0940bfbb91963e4539170148cfa4 Mon Sep 17 00:00:00 2001 From: Vargash Date: Sun, 23 Nov 2025 00:33:41 +0100 Subject: [PATCH] Use raw attr path_cover_l to remove double path and ?ts param --- backend/utils/gamelist_exporter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/utils/gamelist_exporter.py b/backend/utils/gamelist_exporter.py index d6c6cacd6..249014f09 100644 --- a/backend/utils/gamelist_exporter.py +++ b/backend/utils/gamelist_exporter.py @@ -41,9 +41,9 @@ class GamelistExporter: SubElement(game, "desc").text = rom.summary # Media files - if rom.path_cover_large: - SubElement(game, "cover").text = ( - f"{FRONTEND_RESOURCES_PATH}/{rom.path_cover_large}" + if getattr(rom, "path_cover_l", None): + SubElement(game, "thumbnail").text = ( + f"{FRONTEND_RESOURCES_PATH}/{rom.path_cover_l}" ) if rom.youtube_video_id: