Opened 6 years ago

Closed 6 years ago

#11546 closed Patch - Feature (fixed)

Add a system event to handle CEC commands

Reported by: mythtv@… Owned by: stuartm
Priority: minor Milestone: 0.28
Component: MythTV - User Interface Library Version: 0.26-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Attached is a patch to add a system event "CEC_COMMAND_RECEIVED" together with a token %COMMAND% that is the opcode in decimal. I plan to use this to suspend my frontend when the TV is switched off.

Patch is against 0.26-fixes but should apply to head.

Feel free to rename the token %COMMAND% to something else if you feel it is too generic.

Attachments (1)

cec_command_received.patch (1.5 KB) - added by mythtv@… 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by mythtv@…

Attachment: cec_command_received.patch added

comment:1 Changed 6 years ago by mythtv@…

Withdrawing this request. I have it working with libcec-daemon and have rebuilt mythtv without cec support. Please close.

comment:2 Changed 6 years ago by stuartm

Milestone: unknown0.28

comment:3 Changed 6 years ago by Tim Phipps <mythtv@…>

Resolution: fixed
Status: newclosed

In 72e6f2d33d823d092da1aba7b148ac61d6dd33dd/mythtv:

Add a system event to handle CEC commands

Add a system event "CEC_COMMAND_RECEIVED" together with a token %COMMAND% that is the opcode in decimal.

Signed-off-by: Stuart Morgan <smorgan@…>

Closes #11546

Note: See TracTickets for help on using tickets.