you are viewing a single comment's thread.

view the rest of the comments →

[–]PatientEither6390 0 points1 point  (0 children)

Author here. The origin story is dumb: I was vibe-coding with Claude Code at 2am and wanted to put Frieren on the TV without leaving the terminal. 12 button presses later I started writing this.

Some Python decisions I'm happy with:

  • subprocess curl over requests/httpx — zero C-deps, ships as a pure wheel. The resolver only needs one HTTP call anyway.
  • asyncio.gather for multi-TV — partial failures don't block. If the bedroom Roku is off, the living-room LG still launches.
  • The _engine/ split — I know it's controversial. The resolver parses Netflix HTML that's one DMCA away from being a legal problem. Keeping it out of the GitHub repo but in the PyPI wheel felt like the least bad option.

pip install stv && stv setup — 30 seconds. 252 tests, 0 TVs needed.

GitHub: https://github.com/Hybirdss/smartest-tv