Plex commands via CEC

I've been controlling my Rasplex using CEC through my Panasonic TV. It's been mostly a good experience though I sometimes experience double clicks when pressing a button. This might have something to do with my Harmony remote that controls the TV but I didn't have time to fiddle with that.

 

But the reason of this thread is that sometimes I miss some extra commands that neither the Android/iOS remotes nor standard CEC seems to have, like context menu (C on the keyboard), subtitle language (S on the keyboard), audio track (A on the keyboard) etc.

 

Is there a way to have those buttons mapped somehow to work through CEC? Or if not, is there an Android app that sends key presses to Plex?

 

 

 

 

Anybody? Nobody?

I have the same issue.  I only have basic playback and menu navigation control with my TV remote and CEC.  I tried to set up my Harmony remote for CEC control but I can't even get the Play/Pause buttons to work.  It would be nice if the remotes could do more than just basic control.  I'd especially like to be able to marks shows watched/unwatched with the remote.

I'm thinking a proper IR receiver for the Pi is the only way to get the Harmony working nicely.  You can then set up a Windows MCE keyboard device on the Harmony and add that to a Plex activity, which allows you to send keyboard presses to the Pi, like this guy did: http://forums.plexapp.com/index.php/topic/47847-how-to-get-harmony-remote-working-perfectly-in-windows/

Yeah I've been thinking of that solution also, but I'm trying to figure out if it's worth buying a Flirc (which is not that cheap IMHO), or wait for the RasPlex case that I understand it has built in IR receiver.

I was trying to figure out if there's a way to edit the CEC mapping by changing the XML file, but I don't know how exactly and with what.

I bought a $6 usb IR receiver from ebay last week to try out while I wait for a RasPlex case with its integrated IR receiver.  I wouldn't know where to start with editing XML files either.

Yeah, I think this is the best solution for the moment. Sad part is, where I live I can only find a IR+Remote (which is useless as I have a Harmony) bundle for about 25$ which is a lot. Buying from eBay would also add shipping costs which also raises the price to around 20ish

It also hard to imagine why doesn't the official Plex app remote support this. Even the unofficial ones don't.

RasPlex + GPIO IR does not work for me with Microsoft MCE Keyboard setting in logitech remote.  'Media Center Extender' works but then I can't send all the same commands.  Is there some setting that I need to add to recognize keyboard strokes from a remote?

Got the GPIO IR reciever from here: http://nwazet.com/nwazet-pi-infrared-receiver

These guys are based out of Washington State and make everything in the US.  They also have cases and matching power supplies that all work together.

RasPlex + GPIO IR does not work for me with Microsoft MCE Keyboard setting in logitech remote.  'Media Center Extender' works but then I can't send all the same commands.  Is there some setting that I need to add to recognize keyboard strokes from a remote?

Did you follow the steps for setting up the remote? http://sourceforge.net/p/rasplex/wiki/GPIO-IR/

...sigh.  No.  I literally spent several hours going through the rasplex.com documentation, plex forums, openelec docs and forums and xmbc.  Google also.  Did not check the Rasplex sourceforge wiki, haha.  This is probably the first project I've seen that actually populates the documentation on sourceforge rather than just including a link to somewhere else.

Thanks Jason, this looks like exactly what I need I will give it a try.

The way I got around this limitation is to take advantage of the fact that my tv passed the keys 0-9 through to the raspi.  So in my remote.xml keymap, I just remapped these buttons to be play/pause/fwd/rewind/etc.  

The way I got around this limitation is to take advantage of the fact that my tv passed the keys 0-9 through to the raspi.  So in my remote.xml keymap, I just remapped these buttons to be play/pause/fwd/rewind/etc.  

CptanPanic, 

Where can I find this remote.xml keymap in my raspberry pi? I have a remote keyboard and I cannot pop up the menu to select/deselect the subtitle file that I want:-) 
Thanks in advance! 

This is how i changed my remote keymaps for my TV remote. Hope it helps:

Enable SSH in RasPlex
Open new SSH in Windows (e.g. using puTTY)
ssh root@192.168.0.17 (or whatever RasPlex IP is)
Enter password: rasplex
Type:
cp /usr/share/xbmc/system/keymaps/remote.xml /storage/.plex-ht/userdata/keymaps/
then cd /storage/.plex-ht/userdata/keymaps/
nano remote.xml
Then change whatever you need to. In my case, my tv remote doesnt send CEC signals for the Back button, so i changed to stop button to have back functionality...

Change
Stop
to
Back


Save & Quit
Reboot Plex

Control Plex via CEC is the same as controlling your TV.  On your harmony, there is no need to add a device, just add an activity: watch TV.

Select the right HDMI input, rename the activity to "watch plex" or something and that's it.

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