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 - davo2001 - 2017-01-04 2017-01-04 19:38:36 No older events found at the moment. Retry. /var/task/fuzzywuzzy/fuzz.py:35: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning') START RequestId: 61c8ec79-d2b5-11e6-929e-4930c7c9600a Version: $LATEST lambda_handler: applicationId=amzn1.ask.skill.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx on_session_started: requestId=amzn1.echo-api.request.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, sessionId=amzn1.echo-api.session.xxxxxxxxxxxxxxxxxxxxxxxxx on_intent: requestId=amzn1.echo-api.request.xxxxxxxxxxxxxxxxxxxxxxxxxx, sessionId=amzn1.echo-api.session.xxxxxxxxxxxxxxxxxxxxxxxxxxxxx Requested intent: WatchMovie Playing the movie 2001 a space odyssey Sending request to http://xxxxxxxxxxx.dyndns.xx:8080/jsonrpc END RequestId: 61c8ec79-d2b5-xxxx-929e-4930c7c9600a REPORT RequestId: 61c8ec79-d2b5-xxxx-929e-4930c7c9600a Duration: 2670.77 ms Billed Duration: 2700 ms Memory Size: 128 MB Max Memory Used: 45 MB START RequestId: 72171e8f-d2b5-11e6-a712-d9f25fa13e60 Version: $LATEST lambda_handler: applicationId=amzn1.ask.skill.xxxxxxxxxxxxxxxxxxxxxx on_session_started: requestId=amzn1.echo-api.request.xxxxxxxxxxxxxxxxxx-a842-4977dac7902b, sessionId=amzn1.echo-api.session.xxxxxxxxxxxxxx on_intent: requestId=amzn1.echo-api.request.xxxxxxxxxxxx-4977dac7902b, sessionId=amzn1.echo-api.session.2xxxxxxxxxxxxx Requested intent: WatchMovie Playing the movie 2001 a space odyssey Sending request to http://xxxxxxxxxxxxx.dyndns.xx:8080/jsonrpc END RequestId: 72171e8f-xxxxxxxxxxx REPORT RequestId: xxxxxxxxxxxxxxxxxx Duration: 76.55 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 45 MB RE: Amazon Echo skill for Kodi - jingai - 2017-01-04 edit: I take it back -- it didn't find the movie. It wasn't able to get your list of movies from Kodi. Just to verify before I look into it further.. you are trying to play a movie in your library, right? Not something streamed in an addon? RE: Amazon Echo skill for Kodi - davo2001 - 2017-01-04 Yes, its in my library, the movies, etc are stored on a NAS on the same network, kodi is installed on a raspberry pi which is connected to my tv via HDMI, kodi accesses them via DLNA. I access them on kodi by going to VIDEOS - Files. Does it need to be mounted to kodi via something else apart from DLNA? Maybe SMB/CIFS or NFS? RE: Amazon Echo skill for Kodi - jingai - 2017-01-04 Hmm if you're using DLNA that might not actually count as being in your library. I will be occupied for the remainder of the evening, but if you scan through this thread you'll find a curl command you can run to manually make the JSON request to list your movies. If that command fails to provide a list, I'm afraid the skill will too. RE: Amazon Echo skill for Kodi - davo2001 - 2017-01-05 OK so, what i did, i installed kodi on my laptop, replicated the IP and kodi settings of the pi to kodi on the laptop. Now it works on the laptop with alexa, it can find the movies, play them, pause then etc. So i put the settings from kodi on the laptop back on the pi, mounted the data using SMB (same as the laptop) and alexa still cant see the movies Out of ideas. RE: Amazon Echo skill for Kodi - nsviper - 2017-01-05 Have u added movies as a source so it's scanned into kodi library, rather than just videos, files? If it's not in database that may be why the slot generator didn't return any movies to the list... RE: Amazon Echo skill for Kodi - nsviper - 2017-01-05 Also (off topic) but not knowing how fast your LAN is, i'm running my 2 pi's using NFS instead of SMB (lighter faster protocol) against my NAS and I can supply advancedsettings.XML settings that should help with any buffering issues if u have any on the pi? RE: Amazon Echo skill for Kodi - adamnicholls - 2017-01-05 (2016-12-30, 21:19)nsviper Wrote: Ignore me, rebuilt the alexa app as English UK instead of default US, all working brilliantly now You wouldn't be able to help me with the intentschema and slot types for the English UK build could you please? I'm grasping at straws here! I'm sure It's pretty simple but I've tried and I can't seem to convert the US to UK. RE: Amazon Echo skill for Kodi - leoneonekenobi - 2017-01-05 Hi All i tried set up the skill but cant get it working, when i ask alexa 'ask kodi to stop' she responds 'playback stopped' but nothing happens. Wondered if anyone could help? thanks leone RE: Amazon Echo skill for Kodi - digiltd - 2017-01-05 (2017-01-05, 01:13)adamnicholls Wrote:(2016-12-30, 21:19)nsviper Wrote: Ignore me, rebuilt the alexa app as English UK instead of default US, all working brilliantly now There isn't any difference for the UK intents and slot types other than the language you set the Skill up in. I posted my screenshots a few weeks back. most of it should still be relevant. http://forum.kodi.tv/showthread.php?tid=254502&pid=2472473#pid2472473 RE: Amazon Echo skill for Kodi - digiltd - 2017-01-05 @leoneonekenobi does it work when you send commands using the developer test page? RE: Amazon Echo skill for Kodi - davo2001 - 2017-01-05 (2017-01-05, 01:00)nsviper Wrote: Have u added movies as a source so it's scanned into kodi library, rather than just videos, files? BINGO! Fair play to you! I had added the path and could see and access the movies on kodi but hadn't actually added them as a source for the kodi library. All up and running now, delighted. Thanks everyone for the help RE: Amazon Echo skill for Kodi - leoneonekenobi - 2017-01-05 @digiltd.....Hello and thanks for the reply. Do you mean the 'Service Simulator' with the Alexa Developer dashboard? if so i did and entered 'stop'...don't see any errors. Totally baffled. leone RE: Amazon Echo skill for Kodi - nsviper - 2017-01-05 (2017-01-05, 18:35)leoneonekenobi Wrote: @digiltd.....Hello and thanks for the reply. If you used the tester and said stop, the tester should show: Quote:{ In addition to that, your KODI log should show (I told it to play a movie 1st, then to stop): Quote:18:06:30 283087.781250 T:1953447936 NOTICE: DVDPlayer: Opening: nfs://xxx.xxx.xxx.xxx/MediaShare/Movies/HD/Avengers.Age.of.Ultron/Avengers.Age.of.Ultron.mkv (you should also see traffic on your router log as well) RE: Amazon Echo skill for Kodi - leoneonekenobi - 2017-01-05 @nsviper Used the tester and said stop....got the same result as your pasted Lambda Response code above. Will have to test/check after work to see what the kodi log file states upon the stop request. Thanks leone |