Release Kanzi: Amazon Alexa skill for Kodi - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: Release Kanzi: Amazon Alexa skill for Kodi (/showthread.php?tid=254502) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
RE: Amazon Echo skill for Kodi - jingai - 2016-11-29 What you have on that tab is correct. Continue on RE: Amazon Echo skill for Kodi - TearDrop1319 - 2016-11-29 @ jingai, thanks for the heads up! Cheers! RE: Amazon Echo skill for Kodi - Predator004 - 2016-11-29 (2016-11-29, 22:39)jingai Wrote: What you have on that tab is correct. Continue on so i chose north america and using this: arn:aws:lambda:us-east-1:021182**********xa what do I put for endpoint? Endpoint Service Endpoint Type: RE: Amazon Echo skill for Kodi - jingai - 2016-11-29 Yep, keep going. You can stop at the test tab, where you can see if your requests actually make it to Kodi. RE: Amazon Echo skill for Kodi - Predator004 - 2016-11-29 (2016-11-29, 23:00)jingai Wrote: Yep, keep going. You can stop at the test tab, where you can see if your requests actually make it to Kodi. You I did tried a test: play a random show The remote endpoint could not be called, or the response it returned was invalid. RE: Amazon Echo skill for Kodi - jingai - 2016-11-29 (2016-11-29, 23:03)Predator004 Wrote:(2016-11-29, 23:00)jingai Wrote: Yep, keep going. You can stop at the test tab, where you can see if your requests actually make it to Kodi. So, it can't communicate with Kodi. Verify the domain name and port for Kodi and your Kodi credentials are correct in .env. If they are, check the logs on your AWS Console for what the skill is saying is happening. RE: Amazon Echo skill for Kodi - TearDrop1319 - 2016-11-30 @ predator change your invocation name. if you really want it to be kodi, spell cody, the voice server does not do well with "kodi" as the invocation name. I am using "media center" and she never has an issues understanding that. When i used "cody" it was 50/50, and when I first tried "kodi" it never worked.... For examples "Alexa, ask media center to play the movie ghostbusters" RE: Amazon Echo skill for Kodi - Predator004 - 2016-11-30 (2016-11-29, 23:48)jingai Wrote:(2016-11-29, 23:03)Predator004 Wrote:(2016-11-29, 23:00)jingai Wrote: Yep, keep going. You can stop at the test tab, where you can see if your requests actually make it to Kodi. here is my .env file again: Quote:# The Kodi webserver only supports HTTP. is there not supposed to be spaces? Am I doing something wrong? I don't get it lol. Thanks!@ RE: Amazon Echo skill for Kodi - jingai - 2016-11-30 I can't tell you if your address/port and credentials are correct. You need to verify those match. If you're positive they do, you need to check the AWS server logs for the skill. RE: Amazon Echo skill for Kodi - Predator004 - 2016-11-30 (2016-11-30, 01:24)jingai Wrote: I can't tell you if your address/port and credentials are correct. You need to verify those match. if I go to: http://predsodjsdf.net then use the port 8070 and the username and pass it works correctly. Were can I get those logs for you? RE: Amazon Echo skill for Kodi - jingai - 2016-11-30 And you are positive there are no typos? If so, you get the logs from the AWS console where you pushed the skill to. RE: Amazon Echo skill for Kodi - Predator004 - 2016-11-30 positive no typos and the web part works Now i tried: Invocation Name The living room' Alexa: I can't find the living room under my account also for SKILL_APPID = I have that blank as the instructions do not use that. Is that correct? here I think are logs: Quote:22:52:18 RE: Amazon Echo skill for Kodi - jingai - 2016-11-30 It's not returning the list of movies to the skill. If you have access to curl, try running: Code: curl --data-binary '{"jsonrpc":"2.0", "method":"VideoLibrary.GetMovies", "id":1}' -H 'content-type: application/json;' -u username:password http://host:port/jsonrpc RE: Amazon Echo skill for Kodi - Predator004 - 2016-11-30 (2016-11-30, 01:50)jingai Wrote: It's not returning the list of movies to the skill. curl: (6) Could not resolve host: method curl: (3) [globbing] unmatched close brace/bracket in column 5 curl: (6) Could not resolve host: application but if I go direct to: http://test.net:8070/jsonrpc I get { "description": "JSON-RPC API of XBMC", "id": "http://xbmc.org/jsonrpc/ServiceDescription.json", "methods": { "Addons.ExecuteAddon": { "description": "Executes the given addon with the given parameters (if possible)", "params": [ { "name": "addonid", etc RE: Amazon Echo skill for Kodi - jingai - 2016-11-30 I assume you're on Windows, so it'd be the quoting. I think this should work: Code: curl --data-binary "{""jsonrpc"":""2.0"", ""method"":""VideoLibrary.GetMovies"", ""id"":1}" -H "content-type: application/json;" -u username:password http://host:port/jsonrpc |