2016-04-19, 11:36
This is my /home/osmc/.kodi/userdata/remote.xml
I'm using the ** IOS Remote app** not a dedicated remote.
custom button is in settings->...more->...->execute a specific action->blue
I also tried the following in remote.xml
From the tcpdump, I figured that the app is just sending JSONRPC Calls
so I currently have <blue>Down</blue>
This is moving the selection down but
this is not triggering the keymap action for Blue, which is also down in this case.
EDIT: Opened a ticket. I honestly think this is a bug. http://trac.kodi.tv/ticket/16696
Code:
<keymap>
<global>
<remote>
<blue>RunScript(/home/osmc/Hyperion/toggleHyperion.py)</blue>
</remote>
</global>
</keymap>
I'm using the ** IOS Remote app** not a dedicated remote.
custom button is in settings->...more->...->execute a specific action->blue
I also tried the following in remote.xml
Code:
<blue>Down</blue>
From the tcpdump, I figured that the app is just sending JSONRPC Calls
so I currently have <blue>Down</blue>
Code:
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"method":"Input.Down","id":416382513,"jsonrpc":"2.0","params":{}}' http://127.0.0.1:80/jsonrpc
Code:
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"method":"Input.ExecuteAction","id":-450699119,"jsonrpc":"2.0","params":{"action":"blue"}}' http://127.0.0.1:80/jsonrpc
EDIT: Opened a ticket. I honestly think this is a bug. http://trac.kodi.tv/ticket/16696