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 - Yousty - 2017-07-14 So I've been playing around with this a little more and I'm noticing that it's REALLY bad at recognizing movies from my library of 1200 movies. I put 100 examples in the skill but that doesn't seem to have helped. Most of the time it doesn't even recognize my command, the echo will just reply with "I couldn't find a device called Kodi" or sometimes "I can't find that skill". And if I ask it to play a random movie it only cycles through about 5 different movies so I don't even think it can see most of my movie library. Any suggestions on how to improve its ability to recognize things in my library? RE: Amazon Echo skill for Kodi - jingai - 2017-07-14 Tell us exactly what you're saying to Alexa and send the skill logs for each request. RE: Amazon Echo skill for Kodi - Yousty - 2017-07-14 (2017-07-14, 02:10)jingai Wrote: Tell us exactly what you're saying to Alexa and send the skill logs for each request.Sorry for the noob question, but how do I access skill logs? I tried searching this thread and googling it but can't find instructions. RE: Amazon Echo skill for Kodi - jingai - 2017-07-14 'zappa tail dev' and the logs on Cloudwatch. Start by just telling us exactly what you're saying to Alexa. When you said you added items to the Slot and it didn't help, are you implying that you tried to omit the Slot items to begin with? If so, do note that nothing in the README is optional. RE: Amazon Echo skill for Kodi - Yousty - 2017-07-14 I put 100 movie title examples into the MOVIES custom slot on the Interaction Model tab on the Alexa Skill Developer Console (see screenshot). They've been there since I did initial setup. They were the titles generated by running "python generate_custom_slots.py" that I then copy and pasted into the Alexa Skill Custom Slot. I've been trying all sorts of different commands: Alexa tell Kodi play The Revenant Alexa ask Kodi play the movie Why Him Alexa tell Kodi play the film Ghost in the Shell Alexa ask Kodi play Jurassic World I've tried all sorts of combinations of those different commands with dozens of movies in my library and it always comes back with "I couldn't find a device called Kodi." But then there are a few movies it does work on I can usually get it to work every time. For instance all of these work: Alexa tell Kodi play Hairspray Alexa tell Kodi play the movie Hairspray Alexa ask Kodi play the film Hairspray Alexa tell Kodi play Star Trek I ran "zappa tail dev" and it ran a log but I can't find where to find it on Cloudwatch. RE: Amazon Echo skill for Kodi - jingai - 2017-07-14 "I couldn't find a device called Kodi" is a message from Alexa itself as opposed to the skill. It's not having trouble finding the movie -- it's having trouble finding the skill. In the Cards for the ones you got to work, try rewarding her for getting them right by clicking Yes where it says, "Did Alexa do what you wanted?" Additionally, you can try just "open Kodi" and then "play the movie (some movie)" to see if that makes a difference. You shouldn't have to do it this way, but it's worth checking. RE: Amazon Echo skill for Kodi - ninernerd - 2017-07-14 After trying the install for the 5th time I think it was, I finally got it working. I moved the folder I was installing it in to a different location. RE: Amazon Echo skill for Kodi - dasmith83 - 2017-07-14 Hi, Great interface - thanks for the effort on developing this... I have followed the official documentation through and all seems to be completed however i'm now at the testing stage and "talking to alexa" however, when the invocation name was: "Kodi Player" Alexa responded with "i can't find that skill", so i changed the Invocation name to: "media player" (logic being kodi might not be understood), and alexa now simply "does nothing". She doesn't respond with any phrase at all. The blue light just goes out. Any ideas what i've done wrong? I can see the skill is enabled in my Alexa app and the invocation name has updated OK. Thanks in advance, Dave. UPDATE: after changing the invocation name a few times further - alexa seems to struggle with finding kodi as a "device", so no matter what i call the invocation name - she responds with things like "i can't find "whatever i called it"", or "im not sure how to help you" etc. RE: Amazon Echo skill for Kodi - jingai - 2017-07-15 I suspect the recent changes allowing smarthome skills to work without directly invoking them is having some negative impact on our skill. Unfortunately, I am on vacation right now though and I can't really look at things much from here. When I get back home I will try to figure out what's going on. RE: Amazon Echo skill for Kodi - NoFixIT - 2017-07-15 Hi All I have completed all the steps but seem to be having a problem. When I run a command in the Service Simulator such as navigate left it works fine and Kodi navigates left however when I say "Alexa, tell Kodi to navigate left" the blue light flashes no feedback such as OK etc and then she just goes back to listening mode and kodi does not navigate left. Any help would be greatly appreciated, great piece of work btw! Thanks RE: Amazon Echo skill for Kodi - NoFixIT - 2017-07-15 Scratch that I worked it out, I added a new language in the skill setup and selected English (U.K) seems to be working now but have only tested simple navigation functions. RE: Amazon Echo skill for Kodi - Yousty - 2017-07-17 (2017-07-14, 10:57)jingai Wrote: "I couldn't find a device called Kodi" is a message from Alexa itself as opposed to the skill. It's not having trouble finding the movie -- it's having trouble finding the skill. Thank you for these suggestions! I spent the weekend playing around with the skill a bit more and discovered some really interesting things: 1. Using the "open Kodi" command first made almost everything work smoothly. That's what led me to believe that the invocation name "cody" was the issue. So I changed the invocation name to "media center" and it's working MUCH better now. Not perfect, but still way better than using "cody." 2. I'm not sure how much providing feedback on the cards in the app will help but I've been doing them anyway so thank you for pointing out that feature. 3. Has anyone figured out how to play movies with roman numerals in the title? (e.g. Star Wars, Star Trek, The Godfather, Back to the Future, etc.) I have tried every way of pronouncing those movie titles I can think of and Alexa never seems to understand. 4. Speaking of Back to the Future, no matter what command I give Alexa it always interprets that movie as the command "go back." Other than those little issues, this skill is working really well now so thank you for all the time and effort! RE: Amazon Echo skill for Kodi - IzeDJ - 2017-07-17 I can't get this to work at all. The skill runs on my echo and says "Welcome to the Kodi skill" but everything after that just gives me an error and exits the skill. I've followed the readme and used the heroku setup option. Code: 2017-07-17T17:31:53.161274+00:00 app[web.1]: Willkommen zum Kodi Skill This is the output when speaking to my echo, not from the skill tester on the dev account from amazon. :/ I've already tried downgrading flask-ask from 0.9.6 which was installed by the script to 0.9.3 as mentioned earlier in this thread but that didn't do anything either RE: Amazon Echo skill for Kodi - jingai - 2017-07-17 (2017-07-17, 16:01)Yousty Wrote: 1. Using the "open Kodi" command first made almost everything work smoothly. That's what led me to believe that the invocation name "cody" was the issue. So I changed the invocation name to "media center" and it's working MUCH better now. Not perfect, but still way better than using "cody." Using cody for the invocation name was an early suggestion that doesn't work well any more. I am guessing people are still using it because other guides still suggest it. However, I personally use kodi and it works perfectly fine for me; at least, it did before I left for vacation. (2017-07-17, 16:01)Yousty Wrote: 2. I'm not sure how much providing feedback on the cards in the app will help but I've been doing them anyway so thank you for pointing out that feature. I know it seems like it wouldn't actually do anything, but it really does. (2017-07-17, 16:01)Yousty Wrote: 3. Has anyone figured out how to play movies with roman numerals in the title? (e.g. Star Wars, Star Trek, The Godfather, Back to the Future, etc.) I have tried every way of pronouncing those movie titles I can think of and Alexa never seems to understand. Roman numerals should work fine; however, if the movie in your library contains a subtitle, you will need to speak at least some of the title for it to fuzzy match. For example, if you have in your library a movie titled, "Star Wars IV: A New Hope", and you request, "Star Wars IV," it's not likely to match. If you say "Star Wars A New Hope" or "Star Wars IV New Hope" etc, that should work. (2017-07-17, 16:01)Yousty Wrote: 4. Speaking of Back to the Future, no matter what command I give Alexa it always interprets that movie as the command "go back." Try: "watch the movie Back to the Future" And, again, reward her when she gets it right, at least for a little bit. RE: Amazon Echo skill for Kodi - Yousty - 2017-07-17 (2017-07-17, 20:27)jingai Wrote: Using cody for the invocation name was an early suggestion that doesn't work well any more. I am guessing people are still using it because other guides still suggest it.The official guide on the Github repo is actually why I used "cody." It's from this screenshot on the guide: https://camo.githubusercontent.com/44fb208c39212551fe52c855172f67ec858d687f/687474703a2f2f692e696d6775722e636f6d2f417a756651786f2e706e67 I'll give "Kodi" a try. (2017-07-17, 16:01)Yousty Wrote: 4. Speaking of Back to the Future, no matter what command I give Alexa it always interprets that movie as the command "go back." (2017-07-17, 20:27)jingai Wrote: Try: "watch the movie Back to the Future" I tried all combinations: "watch Back to the Future","watch movie Back to the Future","watch the movie Back to the Future","watch film Back to the Future" but she never got it right and usually interpreted it as "go back." I guess I'll keep trying and reward her if she finally gets it right. |