Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
Hello,
I developed a IR HW and use JSON for controlling Kodi.
There is a Input.Action "enter" mentioned in the description, but it has no effect.
I thought it has the same effect as I press the "Enter" key on the keyboard.
Background:
The Enter-Key on the keyboard has 2 actions, "select" and "show OSD" depends on the
current situation.
I would like to have this also on one remote control button.
Thanks for help.
Rainer
Posts: 2,078
Joined: Nov 2012
Reputation:
176
enen92
Team-Kodi Member
Posts: 2,078
I used this to "click enter" on kodi: {"jsonrpc": "2.0", "id": 1, "method": "Input.Select"}
Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
I used this also for the selection, but it will not show the OSD in Video player mode.
For this I need a second command.
Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
Changing the API would be nice, but probably it will not happen.
The idea with getactivePlayers if good. I will try it.
Thanks.
Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
getactivePlayers does not work, since it also returns even if the User is in Main manu and the player running in the background.
I thought EventServer API is old and JSOn should be used ?
Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
Thank you yery much for the idea !
I think that could work !!!
Back to coding :-)
Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
2015-01-06, 20:09
(This post was last modified: 2015-01-06, 20:09 by YARD2.)
Thanks for the help.
I can now manage the different events :-)
But I have one problem.
The Video and Live TV window has the same ID: 12005.
Is there an other way to detect that now is LiveTV playing ?
Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
I found nothing in the API that looks like LiveTV.
I try with your hint.
Thanks.
Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
Thank you for the hint!
Works fine :-)
Posts: 13
Joined: Jan 2015
Reputation:
0
Hello
new to the forum
I successfully installed Kodi on my Air ipad without jailbreaking. the problem I do not know how to go backwards to previous menu or page while using Kodi
Can someone help me please