Doesn't work with GOTHAM, throws an InvalidCastException
22/04/2014 8:35:30 PM [XBMC] XbmcJsonRpcConnection.IsAlive
22/04/2014 8:35:31 PM [GUI] Asynchronous starting to connect with XBMC
22/04/2014 8:35:31 PM [XBMC] Opening a connection to XBMC
22/04/2014 8:35:31 PM [XBMC] XbmcJsonRpcConnection.IsAlive
22/04/2014 8:35:31 PM [XBMC] XbmcJsonRpc.Ping()
22/04/2014 8:35:31 PM [XBMC] Calling JSON RPC method "JSONRPC.Ping"...
22/04/2014 8:35:31 PM [XBMC] JSON RPC call: {
"jsonrpc": "2.0",
"method": "JSONRPC.Ping",
"id": 1
}
22/04/2014 8:35:31 PM [XBMC] JSON RPC response: {"id":1,"jsonrpc":"2.0","result":"pong"}
22/04/2014 8:35:31 PM [XBMC] XbmcPlayer.GetActivePlayers()
22/04/2014 8:35:31 PM [XBMC] Calling JSON RPC method "Player.GetActivePlayers"...
22/04/2014 8:35:31 PM [XBMC] JSON RPC call: {
"jsonrpc": "2.0",
"method": "Player.GetActivePlayers",
"id": 2
}
22/04/2014 8:35:31 PM [XBMC] JSON RPC response: {"id":2,"jsonrpc":"2.0","result":[]}
22/04/2014 8:35:31 PM [XBMC] ERROR Error while calling JSON RPC method "Player.GetActivePlayers"
InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JValue'.
at Newtonsoft.Json.Linq.Extensions.Convert[T,U](T token, Boolean cast)