Kore icon indicating copy to clipboard operation
Kore copied to clipboard

Seek not working in Kore 2.5.3 against Kodi in LibreElect (Kodi Matrix: 19.2)

Open maretodoric opened this issue 3 years ago • 2 comments

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

Issue related to #780 . I'm using Kore v2.5.3 and while Video is playing on Kodi 19.2 Matrix (Raspberry Pi 4, LibreElec OS) I'm unable to use Left-Right to seek. In menu itself works fine. That it was fixed in #780 but it's still the issue.

The strangest thing is, on same network i have android tv, configuration is identical (guisettings.xml advancedsettings.xml and sources.xml are same, copied between devices), also 19.2 and it works for some reason.

I've tried to sniff the packets and it appears Kodi is receiving API call from Kore, but when i click on "Left" two times fast, it will send a valid packet and receive an OK answer, but second packet is sent without "Authentication" header. Check bellow for part of Wireshark stream.

Expected Behavior

Here is a clear and concise description of what was expected to happen:

It should seek on left-right

Actual Behavior

Does nothing, except if screensaver is on during paused video. Then it will light up the screen but nothing else happens.

Possible Fix

N/A

To Reproduce

Steps to reproduce the behavior:

  1. Play video
  2. Seek using Left-Right
  3. Done

Debuglog

The debuglog can be found here: https://pastebin.com/gpig89fk

Screenshots

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

N/A

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

Wireshark stream as stated above

POST /jsonrpc HTTP/1.1
Content-Type: application/json; charset=utf-8
Content-Length: 47
Authorization: Basic Y2hhbmdlZDpjaGFuZ2Vk
Host: 192.168.0.90:8080
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/2.3.0

{"jsonrpc":"2.0","method":"Input.Left","id":82}HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Type: application/json
Content-Length: 39
Cache-Control: private, max-age=0, no-cache
Accept-Ranges: none
Date: Thu, 17 Jun 2021 18:06:40 GMT

{"id":82,"jsonrpc":"2.0","result":"OK"}POST /jsonrpc HTTP/1.1
Content-Type: application/json; charset=utf-8
Content-Length: 47
Host: 192.168.0.90:8080
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/2.3.0

{"jsonrpc":"2.0","method":"Input.Left","id":82}HTTP/1.1 401 Unauthorized
Content-Length: 0
WWW-Authenticate: Basic realm="Kodi"
Connection: close
Date: Thu, 17 Jun 2021 18:06:40 GMT

Your Environment

Used Operating system:

  • Mobile device: Redmi Note 8 Pro
  • Android version: Android 10
  • Kodi version and platform: Kodi 19.2, armv7l (Raspberry Pi 4)
  • Kore version: 2.5.3

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.

maretodoric avatar Jun 17 '21 18:06 maretodoric

Please close. I needed to enable the use of Event Server in Kore app.

maretodoric avatar Jun 17 '21 19:06 maretodoric

@maretodoric Can you expand on what was wrong? I am having the same problem. Hoping it's similar to your issue.

Edit I got this working via enabling kodi setting under control Allow programs on other systems to control Kodi

LRFalk01 avatar Oct 11 '21 22:10 LRFalk01