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.1

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.1
File Size Uploaded Provenance Actions
tvcast-0.2.1.tar.gz 99.5 kB With provenance Details for tvcast-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 178.8 kB

Release files / tvcast-0.2.1.tar.gz

Download URL tvcast-0.2.1.tar.gz
Size 99.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7c69ca9098949aa8302c9bd6f82e787ca07c383cafd4e08329538eb97cdcb04b
BLAKE2b-256 checksum
How to use checksums
9a204fe2b5fbea2dde1cd7a95003f804895bfa312b26c87745c72c13fdef8e20
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.1-py3-none-any.whl

Download URL tvcast-0.2.1-py3-none-any.whl
Size 79.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
224edaa8f3b0738b3e1ec95fa75be1082afe35ba20a0f4113615647eb9a58503
BLAKE2b-256 checksum
How to use checksums
a4d26c8cee2df10e56bcbbbbbdb95f3b8316af235b43a433fa406ca3f48b87d7
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.1

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.1.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