Re:Show HN: Control Chromecasts from Linux
by atomi on Saturday September 19, 2020 @03:51PM
(#24529949)
It would be incredible if there was a way to use mpsyt to watch Youtube videos with your library.
[ Parent
| on HN ]
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.