plex-media-player icon indicating copy to clipboard operation
plex-media-player copied to clipboard

HDMI-CEC: functions still missing.

Open tomillr opened this issue 7 years ago • 9 comments

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:

  • device_type
  • send_inactive_source
  • standby_devices
  • wake_devices
  • cec_hdmi_port
  • connected_device
  • physical_address
  • port

tomillr avatar Mar 13 '18 21:03 tomillr

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.

LongChair avatar Mar 14 '18 07:03 LongChair

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?

tomillr avatar Mar 14 '18 20:03 tomillr

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.

LongChair avatar Mar 22 '18 05:03 LongChair

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.

tomillr avatar Mar 22 '18 21:03 tomillr

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

LongChair avatar Mar 22 '18 21:03 LongChair

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

tomillr avatar Mar 22 '18 21:03 tomillr

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

LongChair avatar Apr 10 '18 15:04 LongChair

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 avatar Jan 12 '21 05:01 anthonyryan1

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.

anthonyryan1 avatar Oct 28 '21 03:10 anthonyryan1