Just wondering if there’s a PMS Service URL / Method we can use from within a plugin to check what other plugins are installed? Something along the lines http://localhost:32400/system/plugins (<- which according to /system exists but returns a 404). Or maybe something to do with the Framework’s messaging subsystem (which I’ve managed to make nor head or tails of)?
My use case is I’d like to allow the user to automatically navigate to a specific page within another plugin based on what they’re currently looking at inside my plugin. But I’d like to present the option to the user only if the other plugin is available.
At the moment, I’m issuing a request to the plugin’s main url (i.e: /video/XYZ) and seeing if I get a 404 back or not. Obviously, this is far from ideal as, if the plugin is installed, Plex needs to first spin up an instance of the plugin in order to respond. I’m not sure, but it looks like doing it that way may also affect the MRU list for the Video Channels section. So, probably not the best solution.
Any solutions, hints, musings welcome.
Maybe /system/appstore/installed or just /video could be of some use?
/channels/all should give you a full list.
Thanks both. Not sure how I missed all of those! Either /videos or /channels/all will do quite nicely.