Skip to content

Core Dependency Freshness

roto31 edited this page Nov 24, 2026 · 1 revision

Core dependency freshness

StreamTV’s YouTube path tracks yt-dlp and player_client policy. Stale extractors cause googlevideo 403 failures with no app code change.

flowchart TD
  CLI["check_core_dependency_freshness.py"] --> Floor{"yt-dlp ≥ floor?"}
  Floor -->|no| Fail["exit 1"]
  Floor -->|yes| Clients{"Client policy OK?<br/>visionos → web_safari → web_embedded"}
  Clients -->|banned client| Fail
  Clients -->|ok| FF{"FFmpeg present?"}
  FF -->|no| Warn["warn / fail with --strict"]
  FF -->|yes| PyPI{"Behind PyPI tip?"}
  PyPI -->|yes| Lag["warn (--strict to fail)"]
  PyPI -->|no| Pass["exit 0"]
Loading

Commands

./venv/bin/python scripts/check_core_dependency_freshness.py
./venv/bin/python scripts/check_core_dependency_freshness.py --json
./venv/bin/python scripts/check_core_dependency_freshness.py --strict

First-run jobs call ensure_yt_dlp_current(). Keep the weekly com.streamtv.ytdlp-upgrade LaunchAgent bootstrapped.

Preferred YouTube clients

  1. visionos
  2. web_safari
  3. web_embedded

Do not prefer android_vr / web / android / ios / mweb without a PO Token provider.

Canonical: CORE_DEPENDENCY_FRESHNESS.md · First-Run-Setup.

Clone this wiki locally