casttube 0.2.1
pip install casttube
Latest version
Released:
YouTube chromecast api
Navigation
Project description
CastTube
casttube provides a way to interact with the Youtube Chromecast api.
Install:
pip install casttube
Features
- 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 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
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: Uri Katz
- Tags youtube, chromecast, youtube-api
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
Built Distribution
File details
Details for the file casttube-0.2.1.tar.gz
.
File metadata
- Download URL: casttube-0.2.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d2af8c7949aa9c5db87fb11ef0a478a5d3e7ac6d2d2ac8dd1711e3a516fc82 |
|
MD5 | 37f86084a36e0dbd72d45b0452b4b676 |
|
BLAKE2b-256 | 7854f7e80d701c587940cf1c871fb6327b4a2682df4287896fbf9400cd0bbf21 |
File details
Details for the file casttube-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: casttube-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36f118007f9eead3959cf30de03c1640b53a263569ff2a3971c0521826c835b2 |
|
MD5 | 8d3daf1601bcd1544bf0ec463cbd2faa |
|
BLAKE2b-256 | 0ad20f5006892e07ea342d57dbeda46027e99a097ffb6218bee1e37f9776ed95 |