2017-08-25, 23:07
Is there a way to send a json command to the PVR of previous channel? I know that pressing 0 on the keyboard will do previous channel, I tried sending
{"jsonrpc":"2.0","method":"Input.SendText","params": {"text": "0", "done":false},"id":1}
and I got
{"id":1,"jsonrpc":"2.0","result":"OK"}
but I didn't get the previous channel. Searching around appeared to explain the the sendtext puts text in the OS keyboard, not emulation the physical keyboard.
Kodi is translating the keystroke to the command, wondering if there's a json way to do it.
{"jsonrpc":"2.0","method":"Input.SendText","params": {"text": "0", "done":false},"id":1}
and I got
{"id":1,"jsonrpc":"2.0","result":"OK"}
but I didn't get the previous channel. Searching around appeared to explain the the sendtext puts text in the OS keyboard, not emulation the physical keyboard.
Kodi is translating the keystroke to the command, wondering if there's a json way to do it.