<story><title>Show HN: Control Chromecasts from Linux</title><url>https://github.com/alexdelorenzo/chromecast_mpris</url></story><parent_chain></parent_chain><comment><author>balloob</author><text>Author of pychromecast here, the underlying library that this project uses to control the Chromecast.&lt;p&gt;I wrote this lib initially for use in Home Assistant, &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.home-assistant.io&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.home-assistant.io&lt;/a&gt;&lt;p&gt;For Home Assistant I made a rule that all device drivers are stand-alone Home Assistant agnostic  Python packages. That way more projects can use it.&lt;p&gt;Glad to see that strategy is working out and it powering projects like this</text></comment>
<story><title>Show HN: Control Chromecasts from Linux</title><url>https://github.com/alexdelorenzo/chromecast_mpris</url></story><parent_chain></parent_chain><comment><author>liability</author><text>If you don&amp;#x27;t want a Google device on your LAN and are willing to put in a little bit more work for that, I&amp;#x27;ve found that remotely controlling an instance of mpv over the JSON IPC interface works well for me.  I can send it URLs from the web or paths to local files.  My client for this isn&amp;#x27;t currently public, but it&amp;#x27;s a rather easy interface that some of you may find it easy enough to integrate into your other systems.&lt;p&gt;(Note that it only listens on a Unix socket.  With socat you can redirect that to a TCP socket though, preferably listening on a wireguard interface to keep the rest of your LAN from accessing it, since there&amp;#x27;s otherwise no security.)&lt;p&gt;Definitely not for everybody, but perhaps suitable for some.&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;mpv.io&amp;#x2F;manual&amp;#x2F;master&amp;#x2F;#json-ipc&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;mpv.io&amp;#x2F;manual&amp;#x2F;master&amp;#x2F;#json-ipc&lt;/a&gt;</text></comment>