2021-01-17, 22:11
Hello,
I recently noted that the Player.Seek syntax appears to have been changed a little for Matrix.
https://github.com/xbmc/xbmc/pull/15939
Below are my experimental versions which work, but not sure the thinking is optimal.
Also not sure about syntax with spacing. Grateful for any hints on optimal syntax.
10 min forward (works):
{"jsonrpc":"2.0", "method":"Player.Seek", "params": { "playerid":1, "value":{ "seconds": 600 } }, "id":1}
10 min backward (works)
{"jsonrpc":"2.0", "method":"Player.Seek", "params": { "playerid":1, "value":{ "seconds": -600 } }, "id":1}:
50 percentage (works)
{"jsonrpc":"2.0", "method":"Player.Seek", "params": { "playerid":1, "value":{ "percentage": 50 } }, "id":1}
I recently noted that the Player.Seek syntax appears to have been changed a little for Matrix.
https://github.com/xbmc/xbmc/pull/15939
Below are my experimental versions which work, but not sure the thinking is optimal.
Also not sure about syntax with spacing. Grateful for any hints on optimal syntax.
10 min forward (works):
{"jsonrpc":"2.0", "method":"Player.Seek", "params": { "playerid":1, "value":{ "seconds": 600 } }, "id":1}
10 min backward (works)
{"jsonrpc":"2.0", "method":"Player.Seek", "params": { "playerid":1, "value":{ "seconds": -600 } }, "id":1}:
50 percentage (works)
{"jsonrpc":"2.0", "method":"Player.Seek", "params": { "playerid":1, "value":{ "percentage": 50 } }, "id":1}