Is there a way to programmatically receive events from Plex when remote events (Apple, Harmony, etc) have been triggered?
I’m looking at writing an extension/plug-in that can control Plex, DVD Player (or VLC) and EyeTV all through Plex. This daemon would have to keep track of state (which app is active) and then map to the correct commands on the various apps.
I’ve had a quick look through the forums and the code, and don’t think there is, but I’ll just double-check to avoid doubling up.
I realise I can use Mira, Remote Buddy, iRed Lite, SofaControl, iRemoted etc to handle incoming IR signals, but I thought it would be tidier to bundle it into Plex if possible, since that’s my main workhorse 
I’m not exactly following you with your intent, but all the remote event handling is done in PlexHelper. Basically it watches the IR port, maps the button presses / releases and passes though the intended action through to plex via a socket. Inside Plex it is listening (sorry I can’t remember the exact name but if you search around for the keyword harmony in the source code you’ll find it) on that socket for the key presses, mapping the presses against the keymap.xml files, and executing the exact action required.
So your best bet is probably inside PlexHelper and the event handling code inside Plex itself.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.