Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

YouTube chromecast api

Project description


casttube provides a way to interact with the Youtube Chromecast api.


pip install casttube


  • Play video
  • Play a playlist
  • Add video to the end of the play queue
  • Play next
  • Remove video
  • Clear the entire queue
from casttube import YouTubeSession
session = YouTubeSession(screen_id)

# YouTube video id is

The library requires 2 things:

  1. screen id
  2. The Chromecast youtube app needs to be open

There is a small script in to print the screen id and launch the app.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
casttube-0.2.0-py3-none-any.whl (4.2 kB) Copy SHA256 hash SHA256 Wheel py3
casttube-0.2.0.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page