Feature Request: CEC wake up TV on playback

Just switching over to Plex, long-time XBMC OpenELEC user. So far it's working great! Devs have done an excellent job, and now Plex is making my life better than ever.

 

One feature I used frequently on the OpenELEC builds was TV waking on playback, over CEC-HDMI. Generally I'll leave the TV off until I start something via the remote, then it powers on as the Pi loads whatever I'm sending. While CEC works in general with Rasplex, this bit seems to be missing.

 

Since Rasplex is based on OpenELEC, is this feature still around somewhere? If it's not, I hope it's in the works. I'd really love to have this working on the Plex...

 

If there's a better place to post this let me know. Again great work guys!

I would have to second this request.  I have gotten really used to how chomecast will switch the TV over.

That being said we would most likely need to request it in the master system for PHT as this forum would is just for the making PHT work on the Plex

One feature I used frequently on the OpenELEC builds was TV waking on playback, over CEC-HDMI. Generally I'll leave the TV off until I start something via the remote, then it powers on as the Pi loads whatever I'm sending. While CEC works in general with Rasplex, this bit seems to be missing.

Are you sure that this doesn't work? I have no chance to test it myself currently, but I found this code in Plex Home Theater in xbmc/peripherals/devices/PeripheralCecAdapter.cpp :

  else if (flag == Player && !strcmp(sender, "xbmc") && !strcmp(message, "OnPlay"))
  {
    // activate the source when playback started, and the option is enabled
    bool bActivateSource(false);

It seems the code is there, maybe one of the conditions doesn't match.

Gerald

Never said it didn't work, just that I can't find it.  :D

I do see in your code, "and the option is enabled"... where should I look for that option?

Never said it didn't work, just that I can't find it.  :D

I do see in your code, "and the option is enabled"... where should I look for that option?

I told you already that I can't look myself currently. I would check all the cec-options. There are many of them, don't know how it is named in this moment.

You didn't say you didn't find it, you wrote it seems to be missing.

Gerald

OK, found the options menu. For future reference, it's under Preferences > System > Input Devices > Peripherals > CEC Adapter

(on OpenELEC it's Settings > System > Input Devices > Peripherals > CEC Adapter)

It looks like all the settings are there. A list of them follows. Note the XBMC label still exists in the Plex menu.

- Make XBMC active source when starting

- Devices to power on when starting (TV)

- Devices to power off when stopping (TV)

- Send inactive source when stopping XBMC

- Put devices in standby when putting PC in standby

- Use TV's language setting

- Pause playback when switching source

- Physical address (overrides HDMI port) (0)

- COM port (leave empty unless needed) (*)

Everything is checked. But it still isn't working the same as OpenELEC.

So, maybe a setting needs to be changed, like the name (XBMC to Plex?)

I have the problem that my Samsung TV and my Denon AVR will be switched on by the Raspi on start of the plexhometheater, but when I use casting from a Android device only the TV is powered on. Here I have an ugly patch that fixes that problem. I don't expect that this patch will go upstream, because it is only a workaround and not a really a fix. I do not support how to apply the patch. This is only for curious developers that want to get an idea how to write a real fix.

Gerald 

I would like to have another CEC related solution, hopefully somebody here can help.
I have a Plex Server that goes to sleep and gets waked when I open any Plex app.
When my Rasplex Pi stays on, it keept the Server awake so I use the auto-shutdown function.

The feature I want is to boot the Pi when I turn on the TV (if possible, only when I switch to HDMI port the Pi is connected to, but that’s the best-case scenario).

Is this possible to accomplish inside Rasplex?

Regards,
Patrick

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