From d8a552c61ed94fd4fcb75371b55a1d1e23a9642c Mon Sep 17 00:00:00 2001 From: Mathieu Moran Date: Mon, 14 Sep 2026 20:15:26 -0400 Subject: [PATCH] Client: keep PS1/theme covers+metadata local when a server is configured --- app/covers.py | 8 +++++--- app/info.py | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/covers.py b/app/covers.py index e1b0724..6810c89 100644 --- a/app/covers.py +++ b/app/covers.py @@ -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 diff --git a/app/info.py b/app/info.py index 814bba8..326a1c6 100644 --- a/app/info.py +++ b/app/info.py @@ -199,9 +199,11 @@ def get_or_fetch(release_id, system, fetch_title): info = load(release_id, system) if info is not None: return info - # Server is authoritative for metadata when configured — no IGDB/TMDB - # fallback; an unreachable server just leaves metadata empty. - if server_client.configured(): + # Server is authoritative for game/video metadata when configured — no + # IGDB/TMDB fallback; an unreachable server just leaves metadata empty. + # PS1 metadata stays client-side (the server catalog only covers games + # and videos). + if server_client.configured() and system in ("games", "videos"): try: meta = server_client.fetch_metadata(system, fetch_title) except Exception as exc: # noqa: BLE001