Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Kodi 22 : regression with keyboard control #27523

@albaintor

Description

@albaintor

On AndroidTV, we are using androidremote to control Kodi
This service is installed by default on most AndroidTV devices including Nvidia Shield.
This service lets control the AndroidTV from third party apps or systems : Android mobile app, Home Assistant, or in my case a physical multimedia remote control : direction pad, OK, Back, Home

Bug report

Describe the bug

Prior Kodi 22 (Kodi 21 and earlier), by default this service doesn't work well with Joystick extension

  1. Back command exits the video while playing (instead of going back to video browser while keeping the video playing in background) or during navigation it goes back to the main menu instead of the previous navigation page
  2. OK command makes play/pause the video instead of displaying the OSD

So disabling the Joystick extension brought back the default Kodi keyboard mapping behaviour for OK and Back commands specifically.
But in Kodi 22, disabling this extension no longer works : no commands will respond (through androidremoteservice : mobile app, home assistant...)

Expected Behavior

While disabling Joystick extension, commands should work like in Kodi 21, 20, 19...

Actual Behavior

While disabling Joystick extension, no commands will respond through Android remote app (upper link)

Possible Fix

Revert some of the breaking changes to make it work again

To Reproduce

Steps to reproduce the behavior:

  1. Install https://play.google.com/store/apps/details?id=com.google.android.tv.remote.service&hl=fr
  2. Launch Kodi on your AndroidTV (eg Nvidia Shield)
  3. You can control and navigate, but OK will pause instead of showing OSD menu during playback, and Back will go back to main menu instead of previous menu during navigation
  4. Disable Joystick extension and exit/restart Kodi : the navigation no longer works from the app (wether it worked in Kodi 21 with the default commands mapping)

Debuglog

The debuglog can be found here:

Screenshots

Here are some links or screenshots to help explain the problem:

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

Your Environment

Used Operating system:

  • AndroidTV (Nvidia Shield)

  • iOS

  • tvOS

  • Linux

  • macOS

  • Windows

  • Windows UWP

  • Operating system version/name:

  • Kodi version: 22

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

Metadata

Metadata

Assignees

Labels

Triage: Needed(managed by bot!) issue that was just created and needs someone looking at it

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions