I was
just researching this, as I want to write a small CLI script to play videos on my Chromecast (e.g. "castchrome
https://www.youtube.com/watch?v=_05mIC3BIBc" and the TV will start playing). That way, I can outsource the hard work of discovering the URL to youtube-dl, and all I have to do is send it to the Chromecast.