Helper documentation

how do we use plex plugin helpers?
the [documentation](http://dev.plexapp.com/docs/api/helperkit.html) is severely lacking.

I need to setup a duplex pipe between the plugin and the helper. can i treat Helper.Process like subrrocess.Popen?

Helpers are a massive PITA which should be avoided if at all possible. They require a separate compiled binary for each supported platform (OSX, Windows, Linux) and make it very difficult to maintain down the road. If there’s any way to implement the logic of the helper directly in the plugin’s code or as an included python module, I would suggest going that route.



That being said, my understanding of the way helpers are implemented is that they are limited to taking a single input and returning a single output.

well this is for the eyeTV plugin which is mac os x only for other reasons anyway so I’m not worried about compatibility :slight_smile:



I would love to do what needs to be done another way, but i’ve searched high and low for a way to receive number pad input inside the plugin and came up empty. If plex devs would add the ability for me to access remote/keyboard button presses then i wouldnt need a helper to run in the background and intercept events from plex. If its not obvious what im trying to do: I am trying to allow users to change the channel without having to go back to the menu. If you can tell me another way to accomplish this I am all ears :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.