Developing Plex Remote for RasPlex

I’m new to Plex development and not sure if this is the right place for this topic.

 

I’m currently working on a an application that Launches a title on the RasPlex and then remote controls it with a set of transports.  The problem I am having is that I can seem to get the mp4 to launch from the remote application.  I’m using the HTTP API/Control interface and trying to use the   playFile    application. 

 

Here is what my http looks like:

 
http://PlexServerIP:32400/system/players/RasPlexIP/application/playFile?path=http://RasPlexIP:32400/library/parts/3/file.mp4

 

I built out the http get based on the HTTP API/Control documentation but I’m still not sure if this is right.  Just trying to figure out if this is a format issue or a RasPlex issue.

 

 

If I start he media from the RasPlex I am able to execute the navigation and playback commands:

 

http://PlexServerIP:32400/system/players/RasPlexIP/navigation/back
http://PlexServerIP:32400/system/players/RasPlexIP/navigation/select	
http://PlexServerIP:32400/system/players/RasPlexIP/playback/play
http://PlexServerIP:32400/system/players/RasPlexIP/navigation/moveLeft
http://PlexServerIP:32400/system/players/RasPlexIP/navigation/moveUp
http://PlexServerIP:32400/system/players/RasPlexIP/navigation/moveRight
http://PlexServerIP:32400/system/players/RasPlexIP/navigation/moveDown
http://PlexServerIP:32400/system/players/RasPlexIP/navigation/contextMenu
http://PlexServerIP:32400/system/players/RasPlexIP/playback/bigStepForward

 

Any help is greatly appreciated.

 

tommygr

So I was able to get media to play using the playMedia application:

http://PlexServerIP:32400/system/players/RasPlexIP/application/playMedia?key=/library/metadata/3&path=http://PlexServerIP:32400/library/metadata/3&viewOffset=1817000

Still dont understand why playFile doesn't work.  Here is the xml for this movie

Which item is the   "path"   for the playFile param.

 
     
         
     
     
     
     
     
     
     
     
     
     
 

The api docs show this as an example:

This is a "dumb" command to simply play a particular library file. Note that it will have no metadata or other information associated with it.
 
http://MacPro.local:32400/system/players/192.168.1.6/application/playFile?path=http://mac-mini.local:32400/library/parts/438/file.m4v

the command in the example looks more like the media "key" and the docs dont really tell you what a "path" is.  The assumption is that the path is a combination of 

path=http://plexclient:port/key

Did you ever get this to work?

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