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 - gadgethome - 2016-10-10 (2016-10-10, 17:02)m0ngr31 Wrote:The Skill was set up as "the living room". Also changed the skill to "kodi" but the echo says cannot kind the device "the living room" or "kodi"(2016-10-07, 11:31)gadgethome Wrote: When I run the command online using the testing feature, it works fine and Kodi responds, but when I speak to Alexa using the same command, alexa says there is no device called Living room. RE: Amazon Echo skill for Kodi - digiltd - 2016-10-11 Quickie question, is there a use for the utterances.txt file? It is being updated on GitHub but there is no mention of how to use it in the readme, or am i missing something? RE: Amazon Echo skill for Kodi - jingai - 2016-10-11 utterances.txt is just a more compressed list of utterances for us to look at. It doesn't get used anywhere in the skill. RE: Amazon Echo skill for Kodi - rlg6767 - 2016-10-11 Having trouble setting this up with Heroku. I can see it sending the service request but am getting the following responde: There was an error calling the remote endpoint, which returned HTTP 503 : Service Unavailable The Heroku log shows something has crashed: http://pastebin.com/i97mbjr7 Any help really appreciated. RE: Amazon Echo skill for Kodi - jingai - 2016-10-11 (2016-10-11, 18:01)rlg6767 Wrote: Having trouble setting this up with Heroku.You need pycountry. RE: Amazon Echo skill for Kodi - rlg6767 - 2016-10-11 Apologies, but could you elaborate please? Bit of a novice noob here... ;-) RE: Amazon Echo skill for Kodi - jingai - 2016-10-11 You need to install the pycountry python library. I don't use Heroku so I can't really say how. edit: Just accepted a pull request that I think fixes this for you. RE: Amazon Echo skill for Kodi - rlg6767 - 2016-10-11 (2016-10-11, 18:15)jingai Wrote: You need to install the pycountry python library. I don't use Heroku so I can't really say how. Thanks for this. Does that mean if I follow the instructions for the Heroku part form the below it should resolve the pycountry issue? https://github.com/m0ngr31/kodi-alexa edit: git pull origin master and git push heroku master seemed to install the pycountry RE: Amazon Echo skill for Kodi - rlg6767 - 2016-10-11 So it is sending service requests and getting a response but showing the following in the service response: "content": "SessionSpeechlet - Error parsing results.", heroku logs show the following: 2016-10-11T17:34:33.852920+00:00 app[web.1]: Requested intent: PlayRandomMovie 2016-10-11T17:34:33.853131+00:00 app[web.1]: Trying to play a random movie 2016-10-11T17:34:33.853192+00:00 app[web.1]: http://*myaddress**.no-ip.biz 2016-10-11T17:36:41.654399+00:00 heroku[router]: at=info method=POST path="/" host=mighty-cliffs-37745.herokuapp.com request_id=e8ae8d9c-1137-4cd5-8645-02e811302f29 fwd="72.21.217.173" dyno=web.1 connect=0ms service=6ms status=200 bytes=492 2016-10-11T17:36:41.640404+00:00 app[web.1]: Requested intent: PlayMovie 2016-10-11T17:36:41.640434+00:00 app[web.1]: Trying to play the movie applesauce 2016-10-11T17:36:41.640435+00:00 app[web.1]: http://*myaddress*.no-ip.biz 2016-10-11T17:36:51.883967+00:00 heroku[router]: at=info method=POST path="/" host=mighty-cliffs-37745.herokuapp.com request_id=dff61824-e441-4d76-8fee-7047dfedcc8f fwd="72.21.217.175" dyno=web.1 connect=0ms service=3ms status=200 bytes=492 2016-10-11T17:36:51.870283+00:00 app[web.1]: Requested intent: PlayMovie 2016-10-11T17:36:51.870302+00:00 app[web.1]: Trying to play the movie applesauce 2016-10-11T17:36:51.870323+00:00 app[web.1]: http://*myaddress**.no-ip.biz Update: I rebuilt the Heroku from scratch and tried again and all working correctly!! It's pretty damn quick. Awesome feature and thanks to developer! RE: Amazon Echo skill for Kodi - jrubin - 2016-10-12 (2016-10-07, 20:49)y1ann1s Wrote: Hi,I tried to set it up but the deploy-lambda gives an error that I need to specify region, but the region is in the .env file Do you mind sharing what you did to resolve this? I am currently experiencing this issue and am pulling my hair out trying to figure out what the issue is. Thank you! RE: Amazon Echo skill for Kodi - iamlegend2008 - 2016-10-12 Hi I have setup the skill as described in this post: http://www.howtogeek.com/249336/how-to-control-your-kodi-media-center-with-an-amazon-echo/ The problem is its not working for me at all and I can see that while my heroku app has been successfully deployed, it does not seem to have been called (as the activity log does not show anything after deployment) Im using a north american server and the https url is https://afternoon-XXXXX.herokuapp.com/ (i have changed the app name) When I say "Alexa ask the living room to play the eagles" - it plays the eagles from amazon prime on the echo Any help would be appreciated. Thanks RE: Amazon Echo skill for Kodi - rlg6767 - 2016-10-13 (2016-10-12, 19:48)iamlegend2008 Wrote: Hi Have you tried testing the service from the Amazon Skill developer page? You are able to type a command in such as "Play a random movie". That will let you know whether the skill is able to talk to Heroku at least and should provide some useful info. Also, what have you set your invocation name to? RE: Amazon Echo skill for Kodi - rlg6767 - 2016-10-13 So I've implemented this and it's working successfully but am concerned over the potential security implications and have a few questions: 1. What are the security considerations for running the Heroku - Kodi integration over HTTP as this will expose your kodi credentials in plain text right? 2. How secure is the Kodi webserver itself? From what I've read it's fairly restricted in terms of what you can actually do with it but it's still a potential backdoor. 3. Does anyone have any links for setting up NGINX or similar so that it's HTTPS between Heroku and NGINX and then HTTP between NGINX and Kodi? I've searched the internet for examples but no dice. Thanks in advance for any feedback or comment. RE: Amazon Echo skill for Kodi - iamlegend2008 - 2016-10-13 (2016-10-13, 12:58)rlg6767 Wrote:(2016-10-12, 19:48)iamlegend2008 Wrote: Hi Hi The invocation name is "the living room" Im not seeing ANY activity in the activity section of Heroku but using the testing service some commands are getting to the Kodi box. For example, Play a random movie always works (from the skill tester) as does "Alexa tell the living room to play a good day to die hard" I have a music library of 70,000 songs and most times using the skill tester to say "alexa play alison moyet" (as an example) mostly returns the remote endpoint could not be called, or the response it returned was invalid. (but sometimes the music plays and sometimes it does not (my kodi box is a raspberry pi 3) Nothing works from the Echo itself.except "Im sorry i cant find the answer to the question i heard" I know Im close but Im so far away Anu help would be appreciated. Thanks RE: Amazon Echo skill for Kodi - rlg6767 - 2016-10-13 (2016-10-13, 20:06)iamlegend2008 Wrote: Hi I know the feeling. I'm not an expert either. It sounds like it is working but I have seen a few other posts where people have struggled with large libraries. Maybe that is causing it to time out. Can you delete your music library and try it with a small set of music? You probably need to amend your Amazon slots as well if you do this (possibly not). Also, the code is being updated fairly regularly. Might be worth rebuilding the Heroku app and trying again (that fixed a weird bug for me, see a few posts up). Other than that, not a lot I can suggest. I'm no coder and managed to get it working through trial and error. |