kodi_keybindings/the_things

52 lines
3.7 KiB
Plaintext

##Remote
##Navigation
#left
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "left" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#right
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "right" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#up
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "up" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#down
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "down" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#select
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "select" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#back
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "back" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#menu
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "menu" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#fullscreen toggle
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "togglefullscreen" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#queue
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "queue" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#info
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "info" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
##playback control
#next
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "skipnext" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#previous
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "skipprevious" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#play/pause
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "playpause" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#volume_up
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "volumeup" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"
#volumedown
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "volumedown" }, "id": 1 } }' "http://192.168.0.25:80/jsonrpc"