{"id":889,"date":"2019-10-15T23:36:58","date_gmt":"2019-10-15T13:36:58","guid":{"rendered":"https:\/\/blog.hegars.com\/?p=889"},"modified":"2019-10-16T00:03:17","modified_gmt":"2019-10-15T14:03:17","slug":"chromecast-scripting","status":"publish","type":"post","link":"https:\/\/blog.hegars.com\/?p=889","title":{"rendered":"ChromeCast Scripting"},"content":{"rendered":"\n<p><a href=\"https:\/\/developers.google.com\/cast\/docs\/media\">https:\/\/developers.google.com\/cast\/docs\/media<\/a><\/p>\n\n\n\n<p>wget https:\/\/github.com\/barnybug\/go-cast\/releases\/download\/0.1.0\/cast-linux-amd64<\/p>\n\n\n\n<p>.\/cast discover<br>.\/cast &#8211;host 192.168.15.119 &#8211;name OfficeTV status<br>.\/cast &#8211;host 192.168.15.119 &#8211;name OfficeTV quit<br>.\/cast &#8211;host 192.168.15.119 &#8211;name OfficeTV media play http:\/\/stream2.wfmu.org\/freeform-128k<\/p>\n\n\n\n<p>COMMANDS:<br>\n     media     media commands<br>\n     url       url commands (chromecast tv only)<br>\n     volume    set current volume<br>\n     quit      close current app on Chromecast<br>\n     script    Run the set of commands passed to stdin<br>\n     status    Get status of the Chromecast<br>\n     discover  Discover Chromecast devices<br>\n     watch     Discover and watch  Chromecast devices for events<br>\n     help, h   Shows a list of commands or help for one command<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8211;host 192.168.15.119 &#8211;name OfficeTV status.\/cast &#8211;host 192.168.15.119 &#8211;name OfficeTV quit.\/cast &#8211;host 192.168.15.119 &#8211;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[12,3],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/889"}],"collection":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=889"}],"version-history":[{"count":2,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/889\/revisions"}],"predecessor-version":[{"id":891,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/889\/revisions\/891"}],"wp:attachment":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}