Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.
/ cast Public archive

Control your google chromecast via the command line

License

Notifications You must be signed in to change notification settings

jaapz/cast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cast

A linux command line tool to control your chromecast.

Note: this is a work in progress and the command line interface may change a lot.

Installation

You can install it by doing

pip install cast

Usage

cast play: resume playing.

cast pause: pause current content.

cast volume: show current volume.

cast volume 0.3: set current volume to 0.3 (needs to be a value between 0 and 1)

cast status: show a status message.

cast toggle: toggle play/pause.

cast seek 10: seek to 10th second of the song.

cast rewind: restart current content.

Configuration

cast loads it's config from ~/.config/cast/config.ini. An example config looks like this:

[cast]
chromecast_ip=192.168.178.19
sleep_time=0.3

License

This tool is released under the MIT license. See LICENSE.

Thanks

Many thanks to Paul Schoutsen for creating pychromecast, on which this utility greatly relies.

Donate

Support development by tipping me a beer (because programming with beer is inherently better than programming without)!

Support via Gittip

About

Control your google chromecast via the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages