News for hackers. Stuff that matters.
Re:Show HN: Control Chromecasts from Linux by msla on Saturday September 19, 2020 @08:35PM (#24531195)
It's possible if you hook something running Kodi up to your TV.

Here's some example code I wrote, in the form of a few ZSH shell scripts:

https://github.com/chbarts/kodi-command-line

The logic should port nicely to other languages. In particular, it shows how to do things like playing a YouTube video using either the URL or just the hash, plus, of course, a way to play videos on the computer you're running the commands from.

There are no comments on this comment yet.