2016-11-01, 18:52
@newoski, I'm not totally sure, honestly. There's a ton of other requests to Kodi's webserver there.. I don't know if that's normal or not with Emby.
I'm thinking the origin of the request (HTTP vs your remote/keyboard) might be triggering a different path. I really don't think this has anything to do with the skill per se, since it seems the skill is otherwise executing within 1 second, disregarding the time it takes to get the movie list from Kodi.
If you have access to curl somewhere on one of your local machines, try this:
Leave debugging enabled in Kodi so you can see what's going on there too. Tell me how long that takes.
I'm thinking the origin of the request (HTTP vs your remote/keyboard) might be triggering a different path. I really don't think this has anything to do with the skill per se, since it seems the skill is otherwise executing within 1 second, disregarding the time it takes to get the movie list from Kodi.
If you have access to curl somewhere on one of your local machines, try this:
Code:
curl --data-binary '{"jsonrpc":"2.0", "method":"Player.Open", "params":{"item":{"movieid":391}}, "id":1}' -H 'content-type: application/json;' -u username:password http://host:port/jsonrpc
Leave debugging enabled in Kodi so you can see what's going on there too. Tell me how long that takes.