Coder Social home page Coder Social logo

cast's Introduction

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

cast's People

Contributors

jaapz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.