I am looking to build a new client for Plex Media Server (similar to the iOS app) that would allow a Popcorn Hour to browse/stream my Plex content. When I go to the developers section of the wiki/forums it seems to be all about plugin development. Is there a section I can’t find that describes PMS’s API? FYI, I don’t need the transcoding support.
Thanks,
Nate
on you pms device, go to http://localhost.local:32400/library/sections
OK, cool. Figured out pretty much everything I need. One thing that I have yet to do is how to start a video stream from a certain offset (resuming a movie). Do I just start streaming the whole movie and then tell the player to seek or is there a way to start the http stream from a certain point?
How did you go with building a client for the popcorn hour?
Is there a beta I could try out?
I just got plex running on my nas and am looking at building a php base interface for my popcorns aswell
Have you had a look at: http://code.google.com/p/plexnmt/ ?
one of the best ways to figure out how to do certain things, is to use one of the other clients and monitor the pms logs. So for example, fire up the console.app on your mac running the pms and launch the native mac client. Then start some media, jump forward a few times (this might get you what you want, i.e. starting playback with offset). Otherwise, once you have reached >10% into the media, exit out (this will create a resume point), then restart the media. It should ask if you want to resume or start from the beginning, choose resume and it should put something useful in the log for you to look at.
The way Plex does it is to do a Range HTTP request - however I have no idea how the time is converted into a byte range to request.
If the porncorn hour has an API/functions that you can use to control the stream, then starting and seeking is the easiest way.
Note: for transoding use &offset=n (where n is the point in seconds) in the URL - this should start the transoding stream for a specific point.
Thanks erlis seen that one or should I say that’s my little project and I’m looking for some good people to help out and join the project.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.