Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It would be incredible if there was a way to use mpsyt to watch Youtube videos with your library.


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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: