2016-02-16, 01:16
(2016-02-16, 01:00)m0ngr31 Wrote: I updated the repo. I just ended up pulling out the banner stuff since art doesn't really do anything when it's all voice driven.
Unfortunately it's not working for me with the modified code.
If I ask Alexa if there are any new shows I get
Code:
The remote endpoint could not be called, or the response it returned was invalid.
Code:
2016-02-15T23:14:10.670727+00:00 heroku[router]: at=info method=POST path="/" host=kodihatt.herokuapp.com request_id=5810fcfb-6af2-445e-a8e7-06fe0d4073ea fwd="72.21.217.175" dyno=web.1 connect=1ms service=18293ms status=200 bytes=333
I was getting this before, the code is passing through the script fine but it's not getting a response from Kodi.
This JSON works if I just put it in a browser:
{ "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "filter":{"field":"playcount", "operator":"lessthan", "value":"1"}, "sort":{"method":"dateadded", "order":"descending"}, "params":{"properties": ["title", "playcount", "showtitle", "tvshowid", "dateadded"] }, "id": 1 }
http://KODIPUBLICADDRESS/jsonrpc?request...ies%22:%20[%22title%22,%20%22playcount%22,%20%22showtitle%22,%20%22tvshowid%22,%20%22dateadded%22]%20},%20%22id%22:%201%20}
It just doesn't seem to work when the python script runs.