Skip to main content

Cast All The Things allows you to send videos from many, many online sources to your Chromecast.

Project description

https://img.shields.io/pypi/v/catt.svg https://img.shields.io/travis/skorokithakis/catt.svg

Cast All The Things allows you to send videos from many, many online sources (YouTube, Vimeo, and a few hundred others) to your Chromecast. It also allows you to cast local files.

Installation

You can install Cast All The Things with pip:

pip install catt

catt is only compatible with Python 3. If you need a Python 2-compatible version, please install 0.5.6, the last py2-compatible release.

Usage

To use Cast All The Things, just specify a URL:

catt cast "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

CATT supports any service that youtube-dl supports, which includes most online video hosting services.

CATT can also cast local files (if they’re in a format the Chromecast supports natively):

catt cast ./myvideo.mp4

You can also control your Chromecast through catt commands, for example with catt pause. Try running catt --help to see the full list of commands.

Configuration file

CATT can utilize a config-file stored at ~/.config/catt/catt.cfg (%APPDATA%\catt\catt.cfg on Windows).

The format is as following:

[options]
device = chromecast_one

[aliases]
one = chromecast_one
two = chromecast_two

In the [options] section, device denotes the default device that will be selected, when you have not selected a device via the cli.

You can write your choice of default device to catt.cfg by doing:

catt -d <name_of_chromecast> write_config

In the [aliases] section, you can specify aliases for the names of your chromecasts. You can then select a device just by doing:

catt -d <alias> <command>

Currently, in order to take advantage of this functionality, you need to manually edit catt.cfg

Contributing

If you want to contribute a feature to CATT, please open an issue (or comment on an existing one) first, to make sure it’s something that the maintainers are interested in. Afterwards, just clone the repository and hack away!

To run CATT in development, you can use the following command:

python -m catt.cli --help

Thanks!

Info

  • Free software: BSD license

Features

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

catt-0.6.1.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

catt-0.6.1-py2.py3-none-any.whl (20.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file catt-0.6.1.tar.gz.

File metadata

  • Download URL: catt-0.6.1.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for catt-0.6.1.tar.gz
Algorithm Hash digest
SHA256 11556321a1a31b96457ddb94d0e265583938823cc45f17fa4fc2f385ec2b8965
MD5 abd291a27868f5ce89dfc931e683d56a
BLAKE2b-256 6fb050a451f6355b918e4bf611f22915168728de165ea1d6ef228e56fc898f65

See more details on using hashes here.

File details

Details for the file catt-0.6.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for catt-0.6.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9f8d4b7106aeb6628407622fe4b6038d01c2068019fa2ec429757973ad0e661b
MD5 282d6b1fc1abe4233482cd4419e6bdea
BLAKE2b-256 b4653a9f7fa4b5accf6dfb32a9f996b1c45a90eaedec949ebbdbf62dd6480936

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