2018-11-07, 14:20
I have a SHIELD Android TV connect to my Sony Android TV and HDMI-CEC is enabled. When I press the buttons on my TV's remote controller while I'm at the main Kodi screen (navigating libraries, etc) I get the following output on Kodi's debug log:
Given the log above, can we assume that the HDMI-CEC from my SHIELD/TV is sending all the button signals to Kodi? Ok, great... Now, why isn't the same happening when I play start playing a video? I mean, when I'm in the full video screen playing something, any button key presses on my TV remote controller does not print any "DEBUG: HandleKey" messages.
Is there a reason for this? Is it expected behavior? A bug? A bad configuration on my end?
Code:
11:03:41.044 T:140179629296 DEBUG: Keyboard: scancode: 0x5a, sym: 0x00bb, unicode: 0x0000, modifier: 0x0
11:03:41.044 T:140179629296 DEBUG: HandleKey: fastforward (0xf0c5) pressed, action is FastForward
11:03:43.296 T:140179629296 DEBUG: Keyboard: scancode: 0x58, sym: 0x00b1, unicode: 0x0000, modifier: 0x0
11:03:43.297 T:140179629296 DEBUG: HandleKey: prev_track (0xf0bb) pressed, action is SkipPrevious
11:03:45.613 T:140179629296 DEBUG: Keyboard: scancode: 0x57, sym: 0x00b0, unicode: 0x0000, modifier: 0x0
11:03:45.614 T:140179629296 DEBUG: HandleKey: next_track (0xf0ba) pressed, action is SkipNext
11:03:48.728 T:140179629296 DEBUG: Keyboard: scancode: 0x7f, sym: 0x00b3, unicode: 0x0000, modifier: 0x0
11:03:48.961 T:140179629296 DEBUG: HandleKey: play_pause (0xf0bd) pressed, action is PlayPause
11:03:50.005 T:140179629296 DEBUG: Keyboard: scancode: 0x56, sym: 0x00b2, unicode: 0x0000, modifier: 0x0
11:03:50.006 T:140179629296 DEBUG: HandleKey: stop (0xf0bc) pressed, action is Stop
11:03:56.631 T:140179629296 DEBUG: Keyboard: scancode: 0x16, sym: 0x0113, unicode: 0x0000, modifier: 0x0
11:03:56.632 T:140179629296 DEBUG: HandleKey: right (0xf083) pressed, action is Right
11:03:56.731 T:140179629296 DEBUG: Keyboard: scancode: 0x16, sym: 0x0113, unicode: 0x0000, modifier: 0x0
11:03:57.598 T:140179629296 DEBUG: Keyboard: scancode: 0x14, sym: 0x0112, unicode: 0x0000, modifier: 0x0
11:03:57.598 T:140179629296 DEBUG: HandleKey: down (0xf081) pressed, action is Down
11:03:57.777 T:140179629296 DEBUG: Keyboard: scancode: 0x14, sym: 0x0112, unicode: 0x0000, modifier: 0x0
11:04:00.045 T:140179629296 DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
11:04:00.243 T:140179629296 DEBUG: HandleKey: return (0xf00d) pressed, action is Select
Given the log above, can we assume that the HDMI-CEC from my SHIELD/TV is sending all the button signals to Kodi? Ok, great... Now, why isn't the same happening when I play start playing a video? I mean, when I'm in the full video screen playing something, any button key presses on my TV remote controller does not print any "DEBUG: HandleKey" messages.
Is there a reason for this? Is it expected behavior? A bug? A bad configuration on my end?