casttube
YouTube chromecast api
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code that already uses it. The package is abandoned and has not been updated since 2020, so it is likely incompatible with current YouTube and Chromecast APIs. For new projects, seek an actively maintained Chromecast library or use the official YouTube/Google Cast APIs directly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Chromecast device with the YouTube app already open and a valid screen_id to connect to.
- Low install friction with a single runtime dependency (requests).
- However, the package is abandoned—last release was 2020-04-08, last commit 2023-02-11—so expect no bug fixes, security updates, or compatibility patches for newer Python or YouTube API changes.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
last release 2020-04-08 (2319 days) · last repo commit 2023-02-11 · 58 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 208,520 downloads/mo, #9,530 on PyPI
Alternatives
Verify before relying
pip install casttube
from casttube import YouTubeSession
session = YouTubeSession(screen_id)
session.play_video(video_id)- Whether the package still works with current YouTube Chromecast API endpoints (last updated 2020).
- Python version compatibility; requires_python field is empty and no classifiers specify supported versions.
- Whether screen_id discovery still works or has changed in newer Chromecast firmware.
What it is and what it does
CastTube is a Python library that lets you control YouTube playback on Chromecast devices by sending commands through the YouTube Chromecast API. It wraps the API to let you play individual videos, manage playlists, queue videos, skip, and clear the queue—all from Python code rather than the YouTube app UI.
The package depends only on requests and installs with low friction. However, it has been abandoned since 2020 and receives no maintenance; the last commit was in 2023 but no releases have followed. This means the library may not work with current YouTube or Chromecast API versions, and any breaking changes will go unfixed.
Use it for
- Automate YouTube playback on a Chromecast from a home automation or media server script.
- Build a custom remote control interface that sends YouTube videos to a Chromecast device.
- Queue videos programmatically on a Chromecast without touching the YouTube app.
- Integrate YouTube casting into a larger application that manages multiple media devices.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code that already uses it.
The package is abandoned and has not been updated since 2020, so it is likely incompatible with current YouTube and Chromecast APIs. For new projects, seek an actively maintained Chromecast library or use the official YouTube/Google Cast APIs directly.
Install
casttube on PyPI
Before you install
Low install friction with a single runtime dependency (requests). However, the package is abandoned—last release was 2020-04-08, last commit 2023-02-11—so expect no bug fixes, security updates, or compatibility patches for newer Python or YouTube API changes.
Requires a Chromecast device with the YouTube app already open and a valid screen_id to connect to.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
pip install casttube
from casttube import YouTubeSession
session = YouTubeSession(screen_id)
session.play_video(video_id)
Verify before relying
- Whether the package still works with current YouTube Chromecast API endpoints (last updated 2020).
- Python version compatibility; requires_python field is empty and no classifiers specify supported versions.
- Whether screen_id discovery still works or has changed in newer Chromecast firmware.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Abandoned 2,319 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 208,520 / month, #9,530 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: casttube-0.2.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “youtube chromecast control”
- casttubeInteract with YouTube on Chromecast devices by sending commands to…
- PyChromecastCommunicate with Google Chromecast devices over the network to…
- ytmusicapiytmusicapi lets you programmatically interact with YouTube Music by…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also PyChromecast · ytmusicapi · pytube · youtube_dl · PlexAPI · spotifywebapipython · youtube-transcript-api · pytubefix · youtube-search-python · python-youtube