Client: keep PS1/theme covers+metadata local when a server is configured
build / Linux x86_64 (push) Successful in 2m54s
build / Windows x64 (Wine) (push) Successful in 3m40s

This commit is contained in:
2026-09-14 20:15:26 -04:00
parent bf1fa04f11
commit d8a552c61e
2 changed files with 10 additions and 6 deletions
+5 -3
View File
@@ -1220,9 +1220,11 @@ def fetch_cover(name, release_id, system, timeout=10, quick=False):
except OSError:
pass
# Server is authoritative for covers when configured — no libretro/IGDB
# fallback; if the server is unreachable the cover just stays empty.
if server_client.configured():
# Server is authoritative for game/video covers when configured — no
# libretro/IGDB fallback; if the server is unreachable the cover just
# stays empty. PS1/theme art stays client-side (the server catalog only
# covers games and videos).
if server_client.configured() and system in ("games", "videos"):
try:
data = server_client.fetch_cover(system, name)
except Exception as exc: # noqa: BLE001