2013-01-06, 07:23
(2013-01-05, 12:18)Montellese Wrote:(2013-01-05, 12:12)kevinkelm Wrote: That's great thanks. Would this work for toggling subtitles on and off?
{"jsonrpc": "2.0", "method": "Player.SetSubtitle", "params": { "subtitle": "toggle" }, "id": "1"}
Currently for SetSubtitle only the values "previous", "next", "off" and "on" or a specific subtitle index (0 to x) are supported. Subtitles are more of a cycle and not a toggle thing. But I guess in the future it would make sense to either add a "cycle" value which goes from "off" to 0 to 1 to ... to "off" or add a "toggle" value which just toggles between "off" and "on".
Thanks guys, just one more question. Is there a command to set watched status? I don't see one in the docs.
Thanks!