Kodi Community Forum
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)



RE: Amazon Echo skill for Kodi - Predator004 - 2016-11-30

(2016-11-30, 19:18)jingai Wrote: Yes, North America.

Add the trigger and then select Alexa Skills Kit like it says. Copy the ARN and keep it somewhere for the next part.

ok just making sure. it looks like its working now! at least in test. I will have to wait till I get home. Looks like the http was messing everything up! Thank you so much!!!


RE: Amazon Echo skill for Kodi - jingai - 2016-11-30

No problem at all. Glad to hear it's working Smile


RE: Amazon Echo skill for Kodi - Predator004 - 2016-11-30

(2016-11-30, 19:37)jingai Wrote: No problem at all. Glad to hear it's working Smile

I dont see a list of command is there a list somewhere?


RE: Amazon Echo skill for Kodi - jingai - 2016-11-30

Have a look at alexa.utterances or utterances.txt. Though honestly I'd prefer if l people just try to speak naturally and post back here if something doesn't work that they think it should.

We've tried to think of many different ways to request things, but obviously we haven't covered every base Smile


RE: Amazon Echo skill for Kodi - MoistCowbell - 2016-11-30

Is there any way to use this addon to play a Pandora channel through Kodi?


RE: Amazon Echo skill for Kodi - jingai - 2016-11-30

(2016-11-30, 22:54)MoistCowbell Wrote: Is there any way to use this addon to play a Pandora channel through Kodi?

Not currently, sorry. Though some level of addon control is on the list of things to explore.


RE: Amazon Echo skill for Kodi - russco - 2016-12-01

Can I manually edit alexa.utternaces?

In the WhatNewShows section, I want to add a copy of that section, but replace 'show' with 'episode', which I've done with a search/replace.

So just one example, as well as:

WhatNewShows are there new shows recorded to watch

There will also be:

WhatNewShows are there new episodes recorded to watch

Should that just work if I edit the file, or is there a reason why it wouldn't?


RE: Amazon Echo skill for Kodi - Newu_boy - 2016-12-01

Just got the skill working so i thought i would try and help out where i was getting end point error's from please remove http:// from your KODI_ADDRESS = field it should just be some.website.internet.com
Also make sure you create your env file as just that .env use notepad++ so it lets you save without a filename windows doesn't like this by default. Great work Jingai makes my echo dot feel worth while now.
Now off to try and get a couchpotato skill working.


RE: Amazon Echo skill for Kodi - jingai - 2016-12-01

@russco, you're free to do whatever you want to your local copy, but I believe you're looking for the NewShowInquiry intent.

Do note that I can't provide support if you decide to hack on things on your own.


RE: Amazon Echo skill for Kodi - russco - 2016-12-01

Ah okay. What's the difference between NewShowInquiry and WhatNewShows?


RE: Amazon Echo skill for Kodi - edru - 2016-12-01

Added this on the github page, but thought I could add some requests here:

1) Add the word "newest" to verbage as "latest" is used - "Alexa, tell Kodi to play the newest episode of The Flash" doesnt seem to work where as "latest episode of the flash" will work.
2) Add Ubuntu Server walkthrough to installation methods: http://forum.kodi.tv/showthread.php?tid=254502&pid=2411411#pid2411411
3) Add a glossary of phrases some where (like the github wiki), with an explanation of what they do
4) Possibly move the installation walk through to the Wiki section of git hub with links on the front page.


RE: Amazon Echo skill for Kodi - jingai - 2016-12-01

@russco, WhatNewShows tells you which shows have new episodes. NewShowInquiry tells you what new episodes you have for a given show. Give them a try and you'll see.

@edru,

1) I just tried this here and it works. "newest" is in the utterances file.
2) Will discuss this with you on github.
3) The biggest reason I haven't personally done this yet is because I didn't want to maintain it while actively hacking on it.. selfish, I know, but I'm a bit strapped for time these days so I tend to focus on what benefits myself/family. You're free to submit some markup/markdown though Wink
4) Adding stuff to the wiki falls under the same constraints as #3.. someone just needs to do it.


RE: Amazon Echo skill for Kodi - edru - 2016-12-01

1) Ill try it again at home and see if it works. Maybe I need to sync changes.... which brings me to another request later...
2) Just shoot me a message/reply to the thread
3) If there is a simple to look file to dig up what they are and what they do, I could donate some time to it. I dont know how to code, but could at least contribute in some way other than requesting things Smile.

Anyway to add a file that will never be touched by a git sync that will contain the KODI server info, rather than having to update it everytime you resync, or am i just updating wrong?


RE: Amazon Echo skill for Kodi - Predator004 - 2016-12-01

(2016-12-01, 00:17)Newu_boy Wrote: Just got the skill working so i thought i would try and help out where i was getting end point error's from please remove http:// from your KODI_ADDRESS = field it should just be some.website.internet.com
Also make sure you create your env file as just that .env use notepad++ so it lets you save without a filename windows doesn't like this by default. Great work Jingai makes my echo dot feel worth while now.
Now off to try and get a couchpotato skill working.
Link to the couchpoato? What other ones are there


RE: Amazon Echo skill for Kodi - jingai - 2016-12-01

(2016-12-01, 00:40)edru Wrote: 3) If there is a simple to look file to dig up what they are and what they do, I could donate some time to it. I dont know how to code, but could at least contribute in some way other than requesting things Smile.

Not currently.. that'd be the documentation you're requesting Tongue

The code isn't terribly hard to read to at least figure out the basic function of each Intent. alexa.utterances contains all of the Intents, but it's easier to browse utterances.txt. The latter file isn't directly used (it's used to create alexa.utterances), but you can use it as a starting point for documenting the Intents.

If you look in wsgi.py for INTENTS (note the caps), you can find a mapping of each Intent to their function. The second field on each line is what you'd search for in the file to see what it does.

Anything that isn't obvious, you could just leave blank. I'm not asking that you come to the table with something 100% perfectly fleshed out, but some scaffolding would be a good start.

The other side to this coin is that for me, personally, my aim is to make it unnecessary. I find with VUIs if you tell people what they can say, they tend to try to memorize specific utterances. I'd rather people post here and tell me that they tried something and it didn't work or do what they expected, so we can add it.

The other problem is simply the number of ways you can say things. The skill currently has 1500 utterances. How do you document that? You could cherry-pick a couple ways to say things for each Intent, but that leads to the problem of people trying to memorize long sentences and getting frustrated.

(2016-12-01, 00:40)edru Wrote: Anyway to add a file that will never be touched by a git sync that will contain the KODI server info, rather than having to update it everytime you resync, or am i just updating wrong?

Your configuration should be in a file named '.env' which will be ignored by git because it's already listed in the .gitignore file. If you're clobbering that file every time you update, I can only assume you're pulling updates wrong. If you tell me your process for updating, I can help you figure out where you're going wrong.


This forum uses Lukasz Tkacz MyBB addons.