Compare commits

...
1 Commits
Author SHA1 Message Date
quoije d8a552c61e Client: keep PS1/theme covers+metadata local when a server is configured
build / Windows x64 (Wine) (push) Successful in 3m40s
build / Linux x86_64 (push) Successful in 2m54s
2026-09-14 20:15:26 -04:00
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
+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