![]() |
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 - sveni_lee - 2017-03-28 ahh... okay thank you... so far as I can see PVR is not included yet... no Problem, will give a try... RE: Amazon Echo skill for Kodi - bill_orange - 2017-03-28 I see version 2.5 is out. I have a copy of version 2.1 up and running well. As the ver 2.5 readme points out, the setup is a lot different, especially the virtual environment. Rather than try to update my installation, would it make better sense to create a new Kodi skill following the ver 2.5 readme with a different name and invocation (new skill on my Lambda site, new skill in the Developer's area and new folder structure on my local machine) and delete the ver 2.1 stuff once 2.5 is up and running. Are there any consequences to this approach that I am mot seeing? Would this be considerably harder than an upgrade? Bill RE: Amazon Echo skill for Kodi - jingai - 2017-03-28 (2017-03-28, 09:04)sveni_lee Wrote: @jingai, v2.5 will support German utterances (phrases you speak to Alexa), but we need someone to translate her responses (templates.de.yaml). v2.5 will not include PVR support, but it's on the TODO list. RE: Amazon Echo skill for Kodi - jingai - 2017-03-28 (2017-03-28, 09:52)mcl22 Wrote: I'm really looking forward for the pvr function. But concerning your answer for my sts, 2pac, etc. problem I wonder what is going to happen with the pvr feature. The coolest thing would be to ask kodi just for the channel name. But most channels (in Germany) do have names that, i guess, would cause the same problems. Examples: RTL, Sat1, Pro7, ARD, ZDF, n-tv, n24, ... We will figure something out. (2017-03-28, 09:52)mcl22 Wrote: I'have already tried version 2.5 and the problem with the Umlaute is still there. If I ask kodi to play "Die Ärzte" the response is "Spiele die Arzte", also in 2.5. Better and really funny example is: "play music from Abstürzende Brieftauben" - response "spiele Absturz Ende Brieftauben" For everyone: Version 2.5 is not released yet -- the flask-ask branch is under active development. Not yelling, just making it bold so people see it. As for the umlauts, please raise an Issue on github and we'll see what we can do to address it. (2017-03-28, 09:52)mcl22 Wrote: Concerning the custom slots: I don't have a problem with including everything on the first run. But if alexa only gets the right match if the asked movie, artist whatever is part of the list, I'm gonna run into problems every time I add a new movie or artist. Add everything you can, then leave it alone. The skill uses fuzzy matching in addition to the slots -- it's not either/or. It will still most likely work, and if you encounter a title it doesn't work with, raise an Issue for it on github and add it to your slots at least temporarily to make it work. (2017-03-28, 09:52)mcl22 Wrote: Not that that happens every day. But updating the slots every time I add something new wouldn't be that comfortable. You only need to update slots if the skill has trouble recognizing something you've added. (2017-03-28, 09:52)mcl22 Wrote: Last question: is there some kind of tutorial for running the skill on my own webserver? I do already run a webserver on a raspberry. So the ressource is there. It's just WSGI + HTTPS and for 2.5, the entry-point is alexa.wsgi. There is no tutorial, because there are plenty of resources out there for setting up a web server. Plus, this isn't really something I personally want to provide tech support for, honestly. RE: Amazon Echo skill for Kodi - jingai - 2017-03-28 (2017-03-28, 16:29)bill_orange Wrote: I see version 2.5 is out. Version 2.5 is not released yet. You're free to utilize our development branch, but be aware that it will probably break (it's currently broken, even). (2017-03-28, 16:29)bill_orange Wrote: I have a copy of version 2.1 up and running well. As the ver 2.5 readme points out, the setup is a lot different, especially the virtual environment. Rather than try to update my installation, would it make better sense to create a new Kodi skill following the ver 2.5 readme with a different name and invocation (new skill on my Lambda site, new skill in the Developer's area and new folder structure on my local machine) and delete the ver 2.1 stuff once 2.5 is up and running. Please wait until we've ironed out the details. The upgrade procedure isn't yet complete. RE: Amazon Echo skill for Kodi - bill_orange - 2017-03-28 Got it! I will wait. Since 2.1 works fine, I don't see any reason to make trouble for myself. RE: Amazon Echo skill for Kodi - mcl22 - 2017-03-28 (2017-03-28, 16:44)jingai Wrote: For everyone: Version 2.5 is not released yet -- the flask-ask branch is under active development. Not yelling, just making it bold so people see it. Didn't want to upset you ![]() I know how to set up a webserver. Only the python wsgi stuff was new to me. Meanwhile I have it up and running. I see an improvement in responsetime. But I think I made the wrong decision when I used my raspberry 2 for this test. I see it's cpu going up to 100% every time I use alexa. Perhaps I'm gonna try it with my raspberry 3. May I ask you what hardware you use for your webserver? Amazon Echo skill for Kodi - sveni_lee - 2017-03-28 may be you could explain how to setup a Web-Server in this case. Gesendet von iPhone mit Tapatalk Pro RE: Amazon Echo skill for Kodi - jingai - 2017-03-28 My webserver is on an actual PC so I wouldn't see that kind of resource usage. And I'm not upset at all -- just wanted to clear up that 2.5 is not out and isn't ready for general use. RE: Amazon Echo skill for Kodi - jingai - 2017-03-28 I'm sorry, but I'm just too busy to explain how to set up a Web server, especially as I know I'll get a bunch of follow up questions. RE: Amazon Echo skill for Kodi - mcl22 - 2017-03-28 Ok, I was just wondering because the server on the pi works so far and the requests are much faster than it was before. Nevertheless alexa often seems to not get the response in time. So I say something like "Alexa ask kodi to play Terminator" and the movie is played after, let's say 2-3 seconds, but alexa tells me that she couldn't get a response in time. Whatever, I'm gonna try it with my raspberry 3. Perhaps this is gonna improve response time even more. RE: Amazon Echo skill for Kodi - jingai - 2017-03-28 The timeout on responses is hard-coded by Amazon to 10 seconds. Nothing we can do about that, but it should still go through. RE: Amazon Echo skill for Kodi - digiltd - 2017-03-28 (2017-03-28, 19:22)mcl22 Wrote: Ok, I was just wondering because the server on the pi works so far and the requests are much faster than it was before. Nevertheless alexa often seems to not get the response in time. So I say something like "Alexa ask kodi to play Terminator" and the movie is played after, let's say 2-3 seconds, but alexa tells me that she couldn't get a response in time. Just a thought, do you get the same delay if you say " Alexa, ask kodi to play the movie Terminator"? or for music "Alexa, play the song blahblah" and "Alexa, play the album blahblah RE: Amazon Echo skill for Kodi - mcl22 - 2017-03-28 Music takes longer. The timeouts mostly occure when asking for some music like "play artist ..." RE: Amazon Echo skill for Kodi - jingai - 2017-03-28 It'll depend on what type of media you have more of, as the skill has to request the entirety of a given media type from Kodi to do its matching. |