Trying to stop the player via API Call
{“jsonrpc”: “2.0”, “method”: “Player.PlayPause”, “params”: { “playerid”: 0 }, “id”: 1}
borrowed this example from the wiki – and changed Player.PlayPause to Player.Stop
but no joy
i get: {“error”:{“code”:-32602,”data”:{“method”:”Player.Stop”,”stack”:{“message”:”Invalid type string received”,”name”:”playerid”,”type”:”integer”}},”message”:”Invalid params.”},”id”:”1″,”jsonrpc”:”2.0″}
The example seemed to be missing some quotes, so i added some in – neither way worked.
Any assistance would be appreciated