v17 How to play item selected with cursor via API?
#1
Hello,
I use my home center to control Kodi via API.
I cannot find command or code, how play selected item. I can move cursor, then use select command, but more comfortable would be press one button and get the selected item to play, even if it is video, PVR channel, PVR guide or recordings. Is it possible?
I tried method Input.ExecuteAction, action play, but no success.
Thank you for help.
Reply
#2
The enter key or return would be equivalent to 'play', Keymap (wiki) and there are links to the keymap editor in that wiki. The debug log will show keypress and it's effect.
Reply
#3
Thank you, but I cannot understand. I tried this http://kodi.wiki/view/JSON-RPC_API/v8#In...cuteAction ,but there is only play action, and it doesn't work.
Reply
#4
Or anything other information about item highlighted with cursor accessible via APIHuh Is possible query information via API about selected item via cursor?
Reply
#5
Hi, there is no way to determine the currently selected item with cursor over API?
Reply

Logout Mark Read Team Forum Stats Members Help
How to play item selected with cursor via API?0