feat: exclude completed games from recommendations

Skip played and ignore statuses by default; add an include-played toggle to the API, CLI and UI for replay suggestions.
This commit is contained in:
strsv committed 2026-11-07 00:57:53 +03:00
1 parent 6a1b3aadfc
commit 2f5791d1a3
11 files changed
+40 -10

No files matched your search

+3 -1
View File
@@ -1505,7 +1505,9 @@ class Handler(BaseHTTPRequestHandler):
except (KeyError, ValueError):
self._error(400, "unknown mood")
return
allowed = {"backlog", "playing", "played"}
allowed = {"backlog", "playing"}
if body.get("include_played"):
allowed.add("played")
if body.get("include_tribute"):
allowed.add("tribute")
if body.get("include_nostalgia"):