Plex Control Via Control System

Control Systems
Hello,

I am a Savant System Programmer and work for a Savant Dealer. The following questions I hope to answer on my own in the near future but I have a need for the answers now and unfortunately not well versed enough in coding yet to implement my needs.

The Plex iOS app is great, but for our iPad UI it would be even better if we could control it via our native Savant Application for iPad/iPhone/iPod.

Basically what I'm needing to do is run an app in the background of a Mac computer (system controller, not necessarily the mac running Plex) on the same LAN as the Media Server Mac running Plex. This way I can send user defined commands from the Savant UI to the System Controller Host (mac) running the Savant System that then maps to the Plex Host. It would be basically running the iOS RemoteUI and having automator commands trigger the keystrokes mapped to the host computer defined by the Plex Host IP of this not yet created app. Make sense?

This would be a great feature in the preferences screen of Plex called "Control System" when turned on you can map the IP address of the Plex Host, but the app can run on any machine on the same LAN.

Thank you,
Tyler

savantav.com

I think pretty much any command you want to send to plex can be done via its web api. For example, you can tell plex to go back by calling this url:

http://localhost:32400/system/players/mini.local/Navigation/back


I forget where to find all the urls for the api but it shouldn't be too hard to get it. Is this what you're looking for?

I was not able to get Plex to respond to that URL request myself. I do see how this can be beneficial especially if localhost:32400 points to plex from any client running on the LAN. I would have to come up with some automator script to execute the URL as requested from the user. If you can point me in the direction of that api I may be able to make some progress.



I think we’ll need some sort of telnet login IP/Hostname, Port (3000 right?), Username and Password application running on a Mac or any Computer receiving the user input to trigger the commands to the loacalhost running plex.



Example: There is a free app on the apple app store called Boxee, Plex & XBMC remote that telnets into the Plex Host as stated above. I imagine after that the app is sending from the user input either the web based api commands or sending the key commands such as 124 = right, 125 = down, etc…

Sorry it wasn’t clearer, but you’d need to substitute the ip address the address of the PMS computer and replace mini.local with the name of the mac running the client. This is where I got the api info I do know. http://forums.plexapp.com/index.php/topic/15850-plex-9-remote-api/



Beautiful... haha I was a bit slow on that one but this may get me what I need.

Thank you!

I know that an XBMC driver exists for Control4, which will work with Plex 0.8, but nothing’s been coded for Plex 0.9 with Control4 yet.

I got it working thanks to the board and tech support. Now to get the meta data and some other features it’ll be a knock out.



Hello friend, I am also a programmer savant in south america and would like to know if you got something about plex metadata in savant. thanks

I got it working thanks to the board and tech support. Now to get the meta data and some other features it'll be a knock out.

any luck with displaying the meta data and displaying the media library within savants app??

Meta data? Bueller Bueller?

This is about as close as you could get to Meta Data at this point I guess:

https://github.com/caboose014/SavantProfile_PlexHomeTheater

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.