2018-04-04, 14:23
(2018-04-03, 03:41)gottahavit Wrote: hidden input wont work as rpc needs dialog.
to reproduce scroll issue, I just turn on shortcuts type index. have guide, type like 030 to go to a channel. It scrolls that channel to top but when you come back to guide you can't scroll up from channel 030. It thinks thats the first channel.
Input.ExecuteAction works without a dialog eg:
Code:
http://localhost:8080/jsonrpc?Input.ExecuteAction
[{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"number0"},"id":40}]
The possible actions are here: https://kodi.wiki/view/JSON-RPC_API/v8#Input.Action
You can change channel without the number dialog with 3 calls for the number and "shift" to begin the sequence if you use that Setting.
[EDIT] Use DoctorEggs new "Sort Index" shortcut type and grab the channel numbers from source.db with
Code:
select weight, title from channels;