plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.16k stars 170 forks source link

HDMI-CEC: functions still missing. #675

Open tomillr opened 6 years ago

tomillr commented 6 years ago

When compared to other software like Kodi, PMP still can't properly utilize the full capabilities that HDMI-CEC provides.

The following functions should be added:

LongChair commented 6 years ago

Hello

You are right, a lot of these functions are currently not available. Some of them are though not accessible throught the GUI but can be set in plexmediaplayer.conf file.

tomillr commented 6 years ago

I've already tried the view settings that are available to the config file, but it still doesn't work properly on my setup.

My NUC is hooked up to an Marantz AVR which is in turn connected to a Samsung tv. When using Kodi, I'm able to have CEC power on both my TV and AVR and also switch to the proper HDMI input. This doesn't work with PMP. It just turns on the TV to whatever channel it was last on.

Any chance of just lifting all the CEC functions from Kodi or OpenPHT?

LongChair commented 6 years ago

I will try to have another look to CEC available settings in the future, at least to allow changing some of these features from the configfile. Making them available from the GUI is another story, but it should be fairly easy to add some to the config file.

tomillr commented 6 years ago

That's good news. As long as the missing features are available through the config file most tech-savvy users should be fine with that.

LongChair commented 6 years ago

Which version of PMP are you running btw ? OSX windows or embedded?

tomillr commented 6 years ago

I have tried using both embedded as well as the regular Win x64 builds.

LongChair commented 6 years ago

related to https://github.com/plexinc/plex-media-player/issues/56

anthonyryan1 commented 3 years ago

CEC volume control also belongs on the list of missing functions. Plus and minus keys should control an AV-receiver when CEC is enabled, not just show a volume bar that has no ability to alter the volume.

anthonyryan1 commented 2 years ago

So I've started tinkering on making other devices (receiver, projector) turn off when PMP activates the screensaver.

As far as I can see we need to call: https://github.com/plexinc/plex-media-player/blob/master/src/input/InputCEC.cpp

m_adapter->StandbyDevices();

This file already pulls in PowerComponent. But I'm not sure how we can use that. How can we wire this up to trigger a InputCEC method every time the screensaver is activated?

Hoping someone more familiar with the architecture can chime in.