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