2013-09-06, 02:21
Hey Guys,
I am trying to get control from a home automation system. I have plenty of commands working such as "ExecuteAction":
GET \jsonrpc?request={"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"contextmenu"}}
However the "Player" functionality doesn't work for me and I get parse errors - I have NO IDEA how to read this and there is no good documentation that actually describes how this works... would be good if an example accompanied each thing in the API.
By default subtitles turn on EVERY SINGLE TIME i watch a movie - which is really annoying. I can't seem to find out how to open the menu that allows me to change that using the API, so I figured I'd try to add a command to just turn them off.
GET \jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSubtitle","params":{"playerid":"1","subtitle":"off"}}
So my questions:
Any and all help is truly appreciated!
I am trying to get control from a home automation system. I have plenty of commands working such as "ExecuteAction":
GET \jsonrpc?request={"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"contextmenu"}}
However the "Player" functionality doesn't work for me and I get parse errors - I have NO IDEA how to read this and there is no good documentation that actually describes how this works... would be good if an example accompanied each thing in the API.
By default subtitles turn on EVERY SINGLE TIME i watch a movie - which is really annoying. I can't seem to find out how to open the menu that allows me to change that using the API, so I figured I'd try to add a command to just turn them off.
GET \jsonrpc?request={"jsonrpc":"2.0","method":"Player.SetSubtitle","params":{"playerid":"1","subtitle":"off"}}
So my questions:
- How do I figure out what "PlayerID" to use? Can't find that anywhere
- What am i doing wrong above to make the "movie player" stop showing subtitles?
Any and all help is truly appreciated!