Hello all,
So I have some posts over in the regular forums, but figured I would ask here, too.
I am attempting to control my Plex on my chromecast from python programmatically. I can pause/play/stop things that are already playing in plex on my chromecast just fine. What I can’t manage to do is initiate a playback. I’ve tried capturing the packets from chrome://net-internals/#capture and exploring the namespace as pychromecast suggests. I’ve taken the messages from there and reproduced them very near exactly in code and sent the commands to the chromecast, but still it just sits there. I can bring up the “show details” screen on my tv that displays the show info on any item, but that’s it.
Also, there is a socket message with a type of “LOAD” and one of “SETSTREAM”. I’ve tried each individually, as well as both combined. I’ve tried sending that message to the Plex Namespace as well as the default “urn:x-cast:com.google.cast.media” (the packets seem to suggest the latter, despite the fact you’d think it would be the plex one).
I just cannot for the life of me figure out what message I need to be sending to the chromecast to get it to fire off a plex video. I was hoping I’d have better luck in the plex pass area than I’ve had elsewhere. Heck, at this point, I’d ask Plex themselves if there was any way to. lol.