Easy as pie! I have Chrome as a browser, so I'll guide you from that. Type in the following: view-source:yourserver:32400 (obviously replacing yourserver with the real name of your PLex/Nine box. You should see:
The really important part of this is the "key" attribute. Suppose we want to see a list of our video plugins, we just append the key "video" to the end of our current url:
thus... view-source:http://yourserver:32400/video should get us something like:
and so on and so on... I imagine the uri you'll most want to start with is /library/sections. That's where all your tv shows, movies, etc are rooted...
hope this helps/
-dave
I assume that was a typo. 32400 is should be =)
that is perfect!
Thanks
If there is any way you could add the TMDB or IMDB id to the api, I would really appreciate it. It would help me to match movies to my current database.
Using this api, is there a way to start a movie/song in Plex?
correct you are! I'll fix that!
-dave :-)
For that, your best bet is to google the old XMBC remote http commands. They still work in Plex and it's how most of us do exactly what you're asking.
-dave :-)
Could you post an example of how to do that please?
you should probably try to use the new remote api, see here: http://forums.plexapp.com/index.php?/topic/15850-plex-9-remote-api/page__view__findpost__p__101671
Hello
i have a little problem, when i try to connect to plex with Terminal and send a GET /library/sections/
i received an error ,
HTTP/1.0 400 Bad Request
Content-Length: 89
Content-Type: text/html
X-Plex-Protocol: 1.0
400 Bad Request
Connection closed by foreign host.Any idea ?
Hi
This is looking interesting. I have a couple of questions about the api:
In a music section, there is a “Search for artists” and “Search for tracks” directories, what should the search parameter be (for example http://localhost:32400/library/sections/3/search?type=8&searchparameter=Depeche%20Mode ) ?
In an album directory, the tracks are listed with a Part element. This element has 2 attributes, key and file. file contains the location of the file on disk, but what about the key attribute? When I try to open it (for example http://localhost:32400/library/parts/2564/10%20-%20Black%20Lung.mp3 ) I get a 404 not found. My first thought was that this maybe would open a stream to the file from the media server. Is it possible to open a stream to files?
Best regards,
Erlend
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.