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 - digiltd - 2018-01-11 (2018-01-11, 13:26)taurus35 Wrote: jingai,It is normal, it only needs a sample of your data RE: Amazon Echo skill for Kodi - jingai - 2018-01-11 (2018-01-11, 13:26)taurus35 Wrote: jingai,The skill uses fuzzy matching to figure out what you're requesting. The slots are merely examples, and don't need to contain every item you have in your library. RE: Amazon Echo skill for Kodi - jingai - 2018-01-11 The language you select in the skill needs to match the language you chose on your Echo exactly. So, for example, if your Echo is set to "English (Canada)", you need to also choose "English (Canada)" for the skill -- "English (US)" will _not_ work. Further, this is all semi region-locked. For example, if the geographical address on your Echo is in the EU, you cannot host the skill in "US East (N. Virginia)". I believe in general you want to choose the hosting region that is closest to the geographical location of your Echo. For hosting providers other than AWS (Heroku, etc), the region doesn't matter. But the language you set in the skill model still must match the language you choose on your Echo device. RE: Amazon Echo skill for Kodi - taurus35 - 2018-01-11 (2018-01-11, 17:00)jingai Wrote:OK, thanks jingai.(2018-01-11, 13:26)taurus35 Wrote: jingai,The skill uses fuzzy matching to figure out what you're requesting. The slots are merely examples, and don't need to contain every item you have in your library. Another quick question (feature request): Is there any way to automatically mute the volume of kodi when the command "Alexa ask/tell kodi....." is heard? With a surround sound system, it doesn't matter where I put my Alexa it is near to a speaker & I have to shout to one get it to recognise the Alexa command but once it's active it almost always picks up speach from the movie/TV show & carries out all sorts of strange operations & activating new skills Cheers Amazon Echo skill for Kodi - jingai - 2018-01-11 Unfortunately I haven't been able to find a way to mute Kodi when you say Alexa. I toyed with the idea of using an embedded device with a photocell to detect the light ring, or intercepting network traffic, but I just haven't had time to work on it. RE: Amazon Echo skill for Kodi - taurus35 - 2018-01-12 (2018-01-11, 23:50)jingai Wrote: Unfortunately I haven't been able to find a way to mute Kodi when you say Alexa. I toyed with the idea of using an embedded device with a photocell to detect the light ring, or intercepting network traffic, but I just haven't had time to work on it.That's a shame.....can Kodi not be muted (or set kodi volume to zero) for a set time, say 5 seconds, as soon as the kodi skill is invoked & then returned to previous level? It doesn't matter if anything is playing or not, just set it to zero & then return. I'm sure it's not as easy as that Keep up the great work. RE: Amazon Echo skill for Kodi - DonBrutto - 2018-01-12 The best solution I have found so far is the Alexa remote. I have to admit, I would rather a Star Trek chest type communicator style, but this works for now! Amazon Echo skill for Kodi - jingai - 2018-01-12 The skill isn't "invoked" until you've already said your request. It'd be possible to mute on a two step command, like: "Alexa, open Kodi" Kodi mutes "pause" but given the extra step and time (it's two commands for Alexa to process, and an extra two commands going to Kodi to mute and unmute), I'm personally more inclined to just use the remote for mute/pause if it's that loud in the room. If people want this, I can look into it though. One problem I can see right off the bat is if the user already had it muted, it would unmute after the new command is issued unless I first check the status of the volume. Which means 3 commands sent to Kodi in addition to the command you really wanted to send. Unless you're hosting locally, I don't think many would find this delay acceptable. RE: Amazon Echo skill for Kodi - dcdead - 2018-01-14 Hi everyone. First of all thank you very much for the work. Almost anything is working perfectly for me. Except pausing and resuming playback. I'm using AWS and I'm using the skill in German. If I say Alexa tell kodi to pause (In german of course), nothing happens and nothing appears in the alexa app. If I say alexa tell to kodi to resume it understands it as jump forward ("weiter vor" utterance) Here is the AWS log for when I tell her to pause: ------ Strange thing is, that it does work if i enter pause in the test section of the skill. In the logs it shows then that it connects to my kodi machine, which it doesnt in the log above where I say it to alexa: ------ Is there something obvious that I'm missing? RE: Amazon Echo skill for Kodi - dcdead - 2018-01-14 Ok, I fixed it. I had to add AMAZON.ResumeIntent and AMAZON.PauseIntent to the Utterances in the model RE: Amazon Echo skill for Kodi - jingai - 2018-01-14 @dcdead be aware that you're overriding Amazon's own built-in utterances if you do that. You definitely should not have to do this to make it work; if you do, I suspect it's a transient error in Amazon's modelling. Pause/resume definitely work here with the language set to en_US. If it works there for you, then it works. But I wanted to make the comment so others don't simply start overriding all of the built-ins. It shouldn't be necessary and probably will be fixed (by Amazon) soon if it's broken currently. RE: Amazon Echo skill for Kodi - th3ma5k3 - 2018-01-18 Hey Guys I´m tied to gut this skill to run, but I am stuck. Im am getting Error HTTP 500 Internal Server error. I tried reinstalling several times, but I sill have no luck. "zappa tail dev" gives me: Link for pastebin - log is to long RE: Amazon Echo skill for Kodi - AshMan - 2018-01-19 I redid everything from scratch and was successful to the point at which I do a test and I get this message. The remote endpoint could not be called, or the response it returned was invalid. but a random movie did play after a little while other times I get There was an error calling the remote endpoint, which returned HTTP 500 : Internal Server Error I can access my kodi webserver from outside my network fine with the port and user/pass I set so I know that part is working. When I then ask my alexa to play a random movie I get a message saying it took too long to respond. but after a little while, my random movie did play once. Is there a setting somewhere to increase the wait time? I use MYSQL on Mac OS Server and I have a large movie library of about 4500 titles. Should I work on switching mysql to Another SQL server like MariaDB? It does appear to function for some things so I know its somewhat working. but most of the time it tries to get the title from the fireTV kicking me out of kodi. I would love to be able to voice control it but if it wont work well because of my setup. it is what it is. Amazon Echo skill for Kodi - digiltd - 2018-01-20 (2018-01-19, 04:23)AshMan Wrote: I redid everything from scratch and was successful to the point at which I do a test and I get this message. 4500 is a lot of movies, each "movie" type request loads them all into the skill. Alexa only allows 10 seconds before it times out, as you have spotted, even though she reports an error the skill is still working away and responds eventually. What is your internet upload speed like? You might do better self hosting the skill if speeds are a problem. RE: Amazon Echo skill for Kodi - AshMan - 2018-01-20 (2018-01-20, 01:58)digiltd Wrote:(2018-01-19, 04:23)AshMan Wrote: I redid everything from scratch and was successful to the point at which I do a test and I get this message. |