Lightweight python client

My end goal is to be able to have two-way communication between my dune and plex server.  While the excellent emplexer is a plex "client" for the dune it isn't supported as a player on the server side. 

 

I have written programs in python and C++ that interface with the dune but I can't find documentation on how to connect these programs to the plex server.  I have tried to cobble together python scripts from plexXBMC helper (plexGDM.py) but while this registers the python script as a client to the server, it doesn't receive any data from the server.  I have also tried to look at the source code of plex home theater and the roku client to see how they connect to the plex server, but haven't been able to figure out how they are communicating.

 

Is there a simple open-source client that I can edit that communicates with the plex server?  If not, is there any documentation or tips anyone can give me to get me started?

 

Thanks

https://github.com/iBaa/PlexConnect

Just bear in mind the slightly different architecture as it is not set up like a normal client.

It sits between the PMS and ATV and feeds the ATV JS/XML specific to the ATV, fooling the ATV into thinking it is serving up a normal native ATV application (hence no need for a jailbreak and also why it works so slickly).

The dialogue between PlexConnect and the PMS may interest you though.

In fact i would suggest you try it out if you have access to an ATV or retailer with a good returns policy (in case you do not like it), you may end up selling your Dune and contributing code to this instead ;)

My end goal is to be able to have two-way communication between my dune and plex server.  While the excellent emplexer is a plex "client" for the dune it isn't supported as a player on the server side. 

I have written programs in python and C++ that interface with the dune but I can't find documentation on how to connect these programs to the plex server.  I have tried to cobble together python scripts from plexXBMC helper (plexGDM.py) but while this registers the python script as a client to the server, it doesn't receive any data from the server.  I have also tried to look at the source code of plex home theater and the roku client to see how they connect to the plex server, but haven't been able to figure out how they are communicating.

Is there a simple open-source client that I can edit that communicates with the plex server?  If not, is there any documentation or tips anyone can give me to get me started?

Thanks

hey phillyfan1138, i sent to you a PM.