Add star-player matches tab and watchlist-driven fetch.
Ship top-level #/matches with pro watchlist defaults, bump site to 0.5.71, and document the flow in AGENTS/README. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -50,7 +50,7 @@ from shared.paths import (
|
||||
|
||||
from serve_relations import WEB_DIR, build_payload
|
||||
|
||||
SITE_VERSION = "0.5.61"
|
||||
SITE_VERSION = "0.5.71"
|
||||
DEFAULT_OSS_BASE = "https://climperor.oss-cn-shanghai.aliyuncs.com"
|
||||
|
||||
|
||||
@@ -87,9 +87,14 @@ def populate_static_assets(out: Path, payload: dict) -> dict[str, int]:
|
||||
n_vid = 0
|
||||
dst = out / "streamer-video"
|
||||
dst.mkdir(parents=True, exist_ok=True)
|
||||
for f in sorted(STREAMER_VIDEOS.glob("*.mp4")):
|
||||
for f in sorted(STREAMER_VIDEOS.iterdir()):
|
||||
if not f.is_file() or f.name.startswith("_"):
|
||||
continue
|
||||
name = f.name.lower()
|
||||
if not name.endswith(
|
||||
(".mp4", ".webm", ".jpg", ".jpeg", ".webp", ".png")
|
||||
):
|
||||
continue
|
||||
shutil.copy2(f, dst / f.name)
|
||||
n_vid += 1
|
||||
counts["streamer-video"] = n_vid
|
||||
|
||||
Reference in New Issue
Block a user