2015-05-27, 11:03
I'm using JSON-RPC in my android app to control an XBMC device, the problem I'm facing is related to the function Player.Seek, regarding to the documentation I have to send the command as following:
The problem is the value seeked is not constant for the same category, like in songs it seeking sometimes 10 sec and sometimes 20, and in movies sometimes 30 sec and sometimes 60, which makes me can't define global standardization for my work, can anyone help me with that?!! thanks in advance.
Code:
{"id":"some_id","jsonrpc":"2.0","method":"Player.Seek","params":{"value":"smallforward","playerid":0}}
The problem is the value seeked is not constant for the same category, like in songs it seeking sometimes 10 sec and sometimes 20, and in movies sometimes 30 sec and sometimes 60, which makes me can't define global standardization for my work, can anyone help me with that?!! thanks in advance.