ChromeCast Scripting

https://developers.google.com/cast/docs/media

wget https://github.com/barnybug/go-cast/releases/download/0.1.0/cast-linux-amd64

./cast discover
./cast –host 192.168.15.119 –name OfficeTV status
./cast –host 192.168.15.119 –name OfficeTV quit
./cast –host 192.168.15.119 –name OfficeTV media play http://stream2.wfmu.org/freeform-128k

COMMANDS:
media media commands
url url commands (chromecast tv only)
volume set current volume
quit close current app on Chromecast
script Run the set of commands passed to stdin
status Get status of the Chromecast
discover Discover Chromecast devices
watch Discover and watch Chromecast devices for events
help, h Shows a list of commands or help for one command