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!
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.
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.
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.
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).