Hello,
I am new to plug-in development. I searched the API documentation, forum and the net but could not a find a solution to my problem. My plugin lists the Movies in the PMS it is installed. It does this by loading the XML from http://127.0.0.1:32400/library/sections/{movieSectionKey}/all and parsing each entry by XPath. It works but I am not sure it is the correct way. Is there an API for this supplied by the PMS Plug-In environment like the Plugin API (http://dev.plexapp.com/docs/api/runtimekit.html#plugin) or the HTTP API (http://dev.plexapp.com/docs/api/networkkit.html#http)?
For any one wondering, my plugin needs the movie list because I am working on a subtitle downloader.
As far as I know the way you’re doing it is the only way to get it done, I was recently working on another plugin that required accessing the local PMS Library and this was the only way it worked out for me too. Good luck with it!