2018-05-05, 15:19
(2018-05-05, 03:20)m0ngr31 Wrote: I'll take a look at this over the weekend and see if I can replicate it.It seems to have settled down now and I'm getting any 500 server errors.
Here's a trace of the skip command (which works) and the back command (which doesn't)
Code:
ask kodi to skip
11:37:08.439 AMZN -> HOST {"request":{"type":"IntentRequest","intent":{"name":"AMAZON.NextIntent","confirmationStatus":"NONE"}}}
11:37:09.175 HOST -> KODI {"params": {}, "jsonrpc": "2.0", "method": "Player.GetActivePlayers", "id": 1}
11:37:09.176 KODI -> HOST {"id":1,"jsonrpc":"2.0","result":[{"playerid":0,"type":"audio"}]}
11:37:09.180 HOST -> KODI {"params": {"playerid": 0, "to": "next"}, "jsonrpc": "2.0", "method": "Player.GoTo", "id": 1}
11:37:09.190 HOST -> AMZN {"response": {"card": {"content": "", "title": "Playing next item", "type": "Simple"}, "outputSpeech": {"text": "", "type": "PlainText"}, "shouldEndSession": true}, "sessionAttributes": {}, "version": "1.0"}
ask kodi to go back
11:43:06.149 AMZN -> HOST {"request":{"type":"IntentRequest","intent":{"name":"Back","confirmationStatus":"NONE"}}}
11:43:06.573 HOST -> KODI {"params": {}, "jsonrpc": "2.0", "method": "Input.Back", "id": 1}
11:43:06.575 KODI -> HOST {"id":1,"jsonrpc":"2.0","result":"OK"}
11:43:06.578 HOST -> AMZN {"response": {"outputSpeech": {"text": " ", "type": "PlainText"}, "shouldEndSession": false}, "sessionAttributes": {}, "version": "1.0"}
11:43:13.151 AMZN -> HOST {"session":{"new":false,"sessionId":"","application":{"applicationId":""},"user":{"userId":""}},"request":{"type":"SessionEndedRequest","reason":"EXCEEDED_MAX_REPROMPTS"}}
Thanks for your help and for a great product.
PS. Is there any simple way to turn on logging in the self-host code? Reconstructing the AMZN <-> HOST communications from the Apache logs is a real pain!