Skip to main content

Cast videos to chromecast from the commandline.

Project description

aiocast

Cast videos to chromecast devices from the terminal.

Install

$ pip install aiocast

Usage

  • $ aiocast play video.mp4
  • $ aiocast list-devices
  • $ aiocast device-info "Home"
$ aiocast play --help                                                                                                                                                                                                                ✔  19:31 
usage: aiocast play [-h] [-d DEVICE_NAME] [-p PORT] [-t TIMEOUT] [-i IDLE]
                    [--local-ip LOCAL_IP] [--mimetype MIMETYPE]
                    media

Cast a video

positional arguments:
  media                 Path to the video to cast.

optional arguments:
  -h, --help            show this help message and exit
  -d DEVICE_NAME, --device-name DEVICE_NAME
                        The target cast device name (default: None)
  -p PORT, --port PORT  Port of the local cast server (default: None)
  -t TIMEOUT, --timeout TIMEOUT
                        Timeout after which the program will close if stuck on
                        buffering. (default: 60)
  -i IDLE, --idle IDLE  Time to stay idle after a stop or media ends (default:
                        2.5)
  --local-ip LOCAL_IP   Local ip to use, otherwise get the first private ip
                        available. (default: None)
  --mimetype MIMETYPE   Set the mimetype of the media, otherwise will guess.
                        (default: None)

Project details


Download files

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

Source Distribution

aiocast-0.0.3.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file aiocast-0.0.3.tar.gz.

File metadata

  • Download URL: aiocast-0.0.3.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for aiocast-0.0.3.tar.gz
Algorithm Hash digest
SHA256 67c7007ff0d278e09aeff5b7fdebb828d888cde6644d85f8a0f5b61eab5d11a3
MD5 1ef6951e5570c6f8b23bb20b4f0aedbf
BLAKE2b-256 b69f555783d0dd01223e69c81e1138296a362cb0b1722400d3bf83da87b405ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page