I know there's no real requirement but I wish projects like this would give attribution where it's due. This project benefits hugely from pychromecast but there's nothing in the readme mentioning that. Just seems a bit off.
Does the pychromecast project use semantic versioning? I've had to pin the library to a specific version after running into an API breaking change on what would be a minor or patch update to 7.X if the project used SemVer.
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.
I wrote this lib initially for use in Home Assistant, https://www.home-assistant.io
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.
Glad to see that strategy is working out and it powering projects like this