Skip to main content

TV Cast

Cast videos from your Mac to DLNA TVs, with web and CLI controls, resume, and queues. Samsung TVs also support remote buttons, text input, and app launching. No app on the TV, no cloud, no converting.

TV Cast with playback controls, a queue and removable folder tags

Light theme

TV Cast in light mode

Screenshots use a demo library and simulated TV.

Quick start

Needs macOS with the Command Line Tools (xcode-select --install).

Install with uv:

uv tool install tvcast
tv install                 # starts now and at every login
tv ui                      # open the control panel

pipx install tvcast also works. The package has no runtime dependencies. Optional: brew install ffmpeg so TV Cast can flag videos the TV can't play.

Run from source
git clone https://github.com/thepushkarp/tvcast.git ~/Projects/tvcast
cd ~/Projects/tvcast
./tv install
./tv ui

Keep the checkout outside Documents, Desktop and Downloads; macOS restricts login services there. To use tv from any folder, symlink it into a directory on your PATH.

In the panel:

  1. Turn the TV on and pick it at the top (Find TVs if it isn't listed). If macOS asks to find devices on your local network, allow it.
  2. Samsung only: Remote → Pair with TV, then press Allow on the TV.
  3. Hit Play on any movie.

The panel shows the TV's volume, mute state and current supported app. Use Apps to switch; Open on TV appears only after the TV confirms it. Search your library or choose Continue watching to find unfinished movies. Add movies to Queue to play them in order.

Everyday commands

Command What it does
tv ui open the control panel
tv open dune play a movie, resuming where you left off
tv open "dune (2021)" --from-start pick by year, start from the beginning
tv pause · tv play · tv stop
tv seek 1:05:00 jump to a time
tv volume 20 · tv mute on
tv subs · tv subs french · tv subs off list subtitles, switch language or turn them off
tv subs --add ~/Downloads/film.srt show your own subtitle file with the playing movie
tv key home · tv key down down enter press remote buttons (Samsung)
tv status what's playing, and where
tv tvs --find · tv use 2 find TVs, switch to another TV

tv --help lists everything. To remove TV Cast: tv uninstall.

Updates

Stop any active cast, then run uv tool upgrade tvcast (or pipx upgrade tvcast) followed by tv install to restart the login service with the installed version. tv --version shows the CLI version. Settings, pairing and playback history stay in Application Support.

Before removing the package, run tv uninstall, then uv tool uninstall tvcast or pipx uninstall tvcast.

What works on which TV

Any DLNA TV Samsung (2016 or newer)
Play, pause, seek, volume, resume ✓ ✓
Subtitle files (.srt, .ass, .ssa, .vtt) if the TV supports them; switching reloads the video ✓, any language, switch while playing
Subtitles inside the video if the TV supports them ✓, from the TV's own menu
Remote buttons, apps, typing – ✓

More

MIT licensed. Bundled icons retain their Lucide and Feather notices.

Metadata

Release files for tvcast 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tvcast 0.2.0
File Size Uploaded Provenance Actions
tvcast-0.2.0.tar.gz 77.0 kB With provenance Details for tvcast-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tvcast 0.2.0
File Interpreter ABI Platform Actions
tvcast-0.2.0-py3-none-any.whl Python 3 none any Details for tvcast-0.2.0-py3-none-any.whl

Total release size: 139.8 kB

Release files / tvcast-0.2.0.tar.gz

Download URL tvcast-0.2.0.tar.gz
Size 77.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ce2037157b6f8fa857d563f81793e91566f4e644dad944044a42d6da42de1827
BLAKE2b-256 checksum
How to use checksums
45c4d561c106005510b84a99ff06a421753939d2cf90d57cffff39a5ce75eb4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / tvcast-0.2.0-py3-none-any.whl

Download URL tvcast-0.2.0-py3-none-any.whl
Size 62.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4236ff832a436e9b2148d6012df3cd07169c47899b078e69b99c6810970fd53
BLAKE2b-256 checksum
How to use checksums
8ba5fcc14ffdcab0adaaa07a34b126b2c31dd97ba2fd0d91f60f0a1a8f4ef1a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for tvcast 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tvcast-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page