added comments

master
Daniel Martinez 2018-06-25 04:26:24 -04:00
parent d63ee89c95
commit eb4881b178
1 changed files with 35 additions and 16 deletions

View File

@ -1,32 +1,51 @@
##Remote
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.1.130:5287/jsonrpc"
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.1.130:5287/jsonrpc"
##Navigation
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.1.130:5287/jsonrpc"
#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"
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.1.130:5287/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"
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.1.130:5287/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"
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.1.130:5287/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"
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.1.130:5287/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"
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.1.130:5287/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"
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.1.130:5287/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"
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.1.130:5287/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"
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.1.130:5287/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"
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.1.130:5287/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"
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.1.130:5287/jsonrpc"
##playback control
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.1.130:5287/jsonrpc"
#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"
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.1.130:5287/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"
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": "fullscreen" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"