YouTube chromecast api
Project description
CastTube
casttube provides a way to interact with the Youtube Chromecast api.
Install:
pip install casttube
Features
- Play video
- Add video to the end of the play queue
- Play next
- Remove video
from casttube import YouTubeSession
session = YouTubeSession(screen_id)
# YouTube video id is http://youtube.com/watch?v=video_id
session.play_video(video_id)
The library requires 2 things:
- screen id
- The Chromecast youtube app needs to be open
There is a small script in https://github.com/ur1katz/CastTube-Scripts to print the screen id and launch the app.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
casttube-0.1.0.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file casttube-0.1.0.tar.gz.
File metadata
- Download URL: casttube-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3787a38eb3a2bb2c1dc82e9e26387ff056de214b26817cf0bbed2f2a83a5d5c
|
|
| MD5 |
da6bc1693f9b343237e75760537b4c3c
|
|
| BLAKE2b-256 |
a15700f76daff3a80f3e84ec25ac25e982f1aca77df16174b900a1c2ec1d9af1
|
File details
Details for the file casttube-0.1.0-py3-none-any.whl.
File metadata
- Download URL: casttube-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03c822c13d3fe6bcd66157190fcad70743a3b64d55d13fd3853073e3c032971f
|
|
| MD5 |
8deb9574a474250c60b928404190acc1
|
|
| BLAKE2b-256 |
f4d1a7d8cd7a7df6c2cd1cbc7ad8979010ae34ecf1f7da90ffe89bcc3af48326
|