I am a total newbie regarding Plex plugin development and don't find what I am looking for in the API references.
I want to add two InputDirectoryObject in a channel plugin, side by side, each one prompting the user before triggering a distinct shell script on the PMS.
But has the behavior of an InputDirectoryObject is not the same within Plex Home Theater and within the Plex Web Client, I wonder how I could check the type of client where the plugin is running? Except if I am missing something, the Client API is not providing the info I am looking for, does it?
if I am in a Web Client, I would add two DirectoryObject instead, each one redirecting to one unique InputDirectoryObject.
This would be an ugly workaround for the current limitation with InputDirectoryObject. But it would fit my current needs :rolleyes:.
Because the Framework Documentation has not been updated in a while, the guys created the pinned topic for this section of the forum called "Missing from the Official Plugin Documentation" at https://forums.plex.tv/topic/87324-missing-from-the-official-plugin-documentation/. It includes things that have yet to be added to the Framework Documentation as well as those items that may be old or out of date.
Page 7 of the document includes a section on the Platform and Client options