Plex HTPC doesn’t work with LIRC

Player Version#: 1.19.1

Plex HTPC on Linux doesn’t work with LIRC remotes. The reason is because it’s running sandboxed in a snap. The sandbox doesn’t have permission to open the LIRC socket under /run/lirc/lircd. I could configure lircd to put it under /home so Plex could see it, but I don’t see a way to change the path where Plex looks for the socket.

do you know FLIRC? i use an older version of this one: Flirc USB - Flirc

This is because the snap isn’t allowed to access the LIRC socket. In my discussions with them over this I got the distinct impression that the snap developers had no earthly clue what LIRC was or how one would use it. Needless to say that this discussion went nowhere.

I was able to work around in crappy fashion by installing with snap install plex-htpc --devmode

I suppose the correct solution would be to add a snap “Slot” for lirc-support or ir-remote-support, so you’d be able to have a “Plug” for that in your snap and it could be connected to get the necessary permissions. Maybe lircd itself needs to get packaged in a snap that provides that slot. Not that I’m an expert on snap, but that’s my understanding of it.

I was able to workaround much better by ditching lirc and using ir-keytable instead.

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