Looking for the basics to control Plex via TCP and UDP connections.
Hello gang. Been lurking for a while, but I can't seem to find where the HTTP API docs or the UDP API docs are located for Plex. :-?
I have seen the XBMC HTTP API, and fiddled with it with minimal success until I read through the posts and noticed there is a lot of broken behavior with the keymaps and such at the moment. I started to follow the sendkey codes for the logitech remote and that seems to be working.
However I was looking to get more things working - like playlists, and thumbnails, and jumping to new windows and the like. Any suggestions on where I can find these docs?
I don’t believe there is any documentation beyond the xbmc wiki page on the HTTP api. Same goes for the UDP EventServer, which can be found here[/here].
Edit: Saw your posts in the remote thread, so that kind of answers my question.
I spent a bit of time trying to get the EventServer code to work on the iphone myself but not much luck so far. Still trying to get my head around using C++ code along objective c in a project. Would be great if you could post an update if you try this and get it to work.
The XBMC HTTPAPI is what I have been using for development for the XBMC and PLEX platforms. Currently the only difference is that the SendKey Values (256 to 283 ) do not work with PLEX anymore. Also the Keyboard values were broken in both PLEX and XBMC. There is a SVN fix for this for XBMC now. I am waiting to see if this is fixed in the upcoming versions of PLEX.
Could you provide some details on the SVN fix of XBMC .. as this problem is something I am trying to remove for many weeks now...so your help would help the dev-team;-)
Thanks on forehand for your swift reply.
Thanks for the note. I was going crazy trying to find out if it was a coding issue, or not. For now I am trying to stick with the harmony remote codes, as they seem to be the only thing working in that area.
my next hurdle is to make an objective-c base64 decoder. :-)
The SendKey values for the xbox controller were removed from plex. This is what I was using for cursor navigation. Since they were removed I have has to use the Virtual Keyboard SendKey Values which up until v0.8.1 were broken.
What I would really love is some documentation on the ReplaceWindow commands in Plex. The new App store windows and the direct window selection for iTunes would be cool. So for I have gotten as far as this command “ExecBuiltIn¶meter=XBMC.ReplaceWindow(10501,iTunes)” bringing me to the iTunes window, but am still trying to figure out how to go directly to iTunes at the Artist or Album level.
You can get to the Artist or Album level using the direct interface with the mediacenter (port 32400 on your mac running Plex and Mediacenter). Unfortunately I haven't found out yet how to start a certain file from this Mediacenter as I don't get the direct location of the files.. which means starting a file using the reference from the Mediacenter starts a stream .. ... leaving out all info on the file ..
The data returned from Plex Mediacenter is in XML, so that shouldn't be a problem to digest in your software ;-)
Did you solve it? I got stuck when trying to start playback of a file, I can only start streaming the file which seems odd.
(I've tried http://xbox/xbmcCmds/xbmcHttp?command=GetShares(music) and then use that path to stitch it all together but with no luck)