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:
1 parent
6a1b3aadfc
commit
2f5791d1a3
11 files changed
+40
-10
No files matched your search
+3
-1
@@ -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"):
|
||||
|
||||
Reference in new issue
Block a user