Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Transport Commands:
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.PlayPause","params":{ "playerid": 1},"id":1} -- play pause
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.PlayPause","params":{"playerid":1,"play":true},"id":1} – play
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.PlayPause","params":{"playerid":1,"play":false},"id":1} -- pause
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0", "method":"Player.Stop","params":{ "playerid":1},"id":1}—stop
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.GoTo","params":{ "playerid":1,"to":"next"},"id":1} – next
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.GoTo","params":{ "playerid":1,"to":"previous"},"id":1} – previous
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":2},"id":1} -- ffwd with speed 2
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":4},"id":1} -- ffwd with speed 4
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":8},"id":1} -- ffwd with speed 8
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":16},"id":1} -- ffwd with speed 16
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":32},"id":1} -- ffwd with speed 32
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":-2},"id":1} -- rwd with speed 2
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":-4},"id":1} -- rwd with speed 4
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":-8},"id":1} -- rwd with speed 8
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":-16},"id":1} -- rwd with speed 16
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":-32},"id":1} -- rwd with speed 32
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.Seek","params":{ "playerid":1,"value":"smallforward"},"id":1} -- jump forward
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.Seek","params":{ "playerid":1, "value":"smallbackward"},"id":1} -- jump backward
- Repeat and Shuffle commands. Note that I only confirmed a return result of OK in Chrome REST app, I did not visually confirm the result on Kodi.
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0","method":"Player.SetRepeat","params":{ "playerid":1,"repeat":"one" },"id":1} -- repeat one
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetRepeat","params":{ "playerid":1,"repeat":"all" },"id":1} -- repeat all
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetShuffle","params":{"playerid":1,"shuffle":true},"id":1} -- shuffle on
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetShuffle","params":{"playerid":1,"shuffle":false},"id":1} -- shuffle false
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetRepeat","params":{ "playerid":1,"repeat":"off" },"id":1} -- repeat off
- Navigation Commands.
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.Back", "id": 1} – Back
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.Select", "id": 1} – Select
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.Left", "id": 1} – left
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.Right", "id": 1} – Right
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.Up", "id": 1} – Up
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.Down", "id": 1} – Down
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.Home", "id": 1} – Home
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.info", "id": 1} --Info
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.showOSD", "id": 1} –ShowOSD
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.ContextMenu", "id": 1} -- Context Menu
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Input.ShowCodec", "id": 1} – Show codec information of the playing item
- http://192.168.0.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"input.executeaction","params":{"action":"pagedown"},"id":1} – Page Down
- http://192.168.0.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"input.executeaction","params":{"action":"pageup"},"id":1} -- Page Up
- Additional commands.
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Application.SetVolume","params":{"volume":"increment"},"id":1 } -- volume up
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Application.SetVolume","params":{"volume":"decrement"},"id":1 } -- volume down
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Playlist.GetItems","params":{"properties":["title","album","artist","duration"],"playlistid":1},"id":1} -- get Playlists
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"AudioLibrary.GetAlbums","params":{"properties":["playcount","artist","genre"],"limits":{"end":10,"start":0},"sort":{"order":"ascending","method":"album","ignorearticle":true}},"id":"libAlbums"} -- get Albums
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"music","parameters":["musicdb://1/"] },"id":1} -- activate Geners
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"music","parameters":["musicdb://2/"]},"id":1} -- activate artists
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"music","parameters":["musicdb://3/"]},"id":1} -- activate albums
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"music","parameters":["musicdb://4/"]},"id":1} -- activate songs
- System Commands.
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"System.Reboot","id":1} --Reboot
- http://192.168.100.13:8080/jsonrpc?request={"jsonrpc":"2.0","method":"System.Shutdown","id":1} –Shutdown
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement