https://github.com/barnybug/go-cast
A command line tool to control Google Chromecast devices.
https://github.com/barnybug/go-cast
Last synced: 3 months ago
JSON representation
A command line tool to control Google Chromecast devices.
- Host: GitHub
- URL: https://github.com/barnybug/go-cast
- Owner: barnybug
- License: mit
- Created: 2016-03-29T19:46:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-23T08:20:38.000Z (about 1 year ago)
- Last Synced: 2025-03-31T08:12:11.702Z (3 months ago)
- Language: Go
- Size: 3.23 MB
- Stars: 167
- Watchers: 14
- Forks: 33
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://secure.travis-ci.org/barnybug/go-cast)
# go-cast
A command line tool to control Google Chromecast devices.
## Installation
Download the latest binaries from:
https://github.com/barnybug/go-cast/releases/latest$ sudo mv cast-my-platform /usr/local/bin/cast
$ sudo chmod +x /usr/local/bin/cast## Usage
$ cast help
Play a media file:
$ cast --name Hifi media play http://url/file.mp3
Stop playback:
$ cast --name Hifi media stop
Set volume:
$ cast --name Hifi volume 0.5
Close app on the Chromecast:
$ cast --name Hifi quit
## Bug reports
Please open a github issue including cast version number `cast --version`.
## Pull requests
Pull requests are gratefully received!
- please 'gofmt' the code.
## Credits
Based on go library port by [ninjasphere](https://github.com/ninjasphere/node-cast)