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 - jingai - 2016-11-04

@BPDNA, No, you don't need to update the slots ever, technically.

Adding your media to the slots just helps the skill make better matches. If you find you have trouble with a particular show/movie/etc, you can try re-generating the slots. But in general, if it's working, you shouldn't need to do anything routinely.


RE: Amazon Echo skill for Kodi - CaptainMoody - 2016-11-04

jingai

I'm getting the same http://None:/MYDYNDNSSERVER:PORT/None/jsonrpc

What do I need to check and how do I update everything?


RE: Amazon Echo skill for Kodi - digiltd - 2016-11-04

@CaptainMoody this has been fixed, to update you just download the zip from the repo


RE: Amazon Echo skill for Kodi - CaptainMoody - 2016-11-04

Thanks.

I only downloaded and set this up this morning. Has it been updated since then?

When updating do you need to re-run

pip install lambda-deploy

python deploy-to-lambda.py

?


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

You don't need to reinstall lambda-deploy but you do need to run it every time you update.


RE: Amazon Echo skill for Kodi - CaptainMoody - 2016-11-04

Thanks for the info.
Couple more questions...

What should the .env.lambda file be renamed to? is it just .env?
Does the .env file get overwritten on a git pull?
Do I need to rename any other files?

Is this a problem:
Code:
2016-11-04 14:48:28:WARNING:lambda_deploy: Skipping inclusion of of .env file - use LAMBDA_ENV_VARS instead (see documentation for more information)

I gave up on setting my own apache server up after my problems yesterday.
Look forward to testing this when I get in tonight Smile


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

(2016-11-04, 17:34)CaptainMoody Wrote: What should the .env.lambda file be renamed to? is it just .env?
Does the .env file get overwritten on a git pull?

Preferably you should copy it, not rename it, so 'git pull' doesn't complain about the conflict. But yes, it is called .env

(2016-11-04, 17:34)CaptainMoody Wrote: Do I need to rename any other files?

Nope.

(2016-11-04, 17:34)CaptainMoody Wrote: Is this a problem:
Code:
2016-11-04 14:48:28:WARNING:lambda_deploy: Skipping inclusion of of .env file - use LAMBDA_ENV_VARS instead (see documentation for more information)

No, this is normal. There's some discussion about it up in this thread.


RE: Amazon Echo skill for Kodi - CaptainMoody - 2016-11-04

Thanks so much.

Think I'm all set for testing this out now.


RE: Amazon Echo skill for Kodi - layzzzee8 - 2016-11-04

(2016-11-04, 14:23)CaptainMoody Wrote: jingai

I'm getting the same http://None:/MYDYNDNSSERVER:PORT/None/jsonrpc

What do I need to check and how do I update everything?

I had the same issue. I just had to delete KODI_SCHEME and KODI_SUBPATH from my .env file. But according to Jingai this has been fixed with the latest update.


RE: Amazon Echo skill for Kodi - freemans13 - 2016-11-06

(2016-11-03, 18:57)jingai Wrote:
(2016-11-03, 18:45)iophobia Wrote: @Jingai: So what about PVR related tasks? AFAIK it's not possible to directly ask Kodi to start a certain channel from the home screen, or?
Not in yet, but there is an initial effort up as a pull request. I think it will need a little tweaking before it's ready (some stuff is hard-coded that maybe shouldn't be, etc), but it'll be in eventually.

The biggest problem for me is simply that I don't have a PVR set up, so if I'm the one reviewing it will take a little longer.

The PVR stuff sitting as a pull request has a hard coded list of some British channel names that need to be 'un-abbreviated'. For example 'bbc one NI' is changed to 'bbc one northern ireland'. If you try to use the pull request and you don't have any UK channels everything will still work fine. There is nothing hard coded to only work in a certain region. It just happens to have a UK specific mod to rename some of the channels. I'd love to see the pull request merged so I can add get some feedback and improve it.


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

I didn't mean any offense or anything. I just haven't had a chance to really look it over, so I'd prefer if people pulled the branch and provided some feedback before merging.


RE: Amazon Echo skill for Kodi - stuCONNERS - 2016-11-07

What should i be looking for when running deploy-to-lambda.py in terminal? I have some free time to mess with this. Im using docker on libreelec with python

heres the output at the moment: from this command: docker run -v /storage/kodi-alexa:/kodi-alexa python /kodi-alexa/deploy-to-lambda.py

panic: standard_init_linux.go:175: exec user process caused "no such file or directory" [recovered]
panic: standard_init_linux.go:175: exec user process caused "no such file or directory"

goroutine 1 [running, locked to thread]:
panic(0x872420, 0xc82013caf0)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/toolchain/lib/golang/src/runtime/panic.go:481 +0x3e6
github.com/urfave/cli.HandleAction.func1(0xc82010b2e8)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/runc-02f8fa7/Godeps/_workspace/src/github.com/urfave/cli/app.go:478 +0x38e
panic(0x872420, 0xc82013caf0)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/toolchain/lib/golang/src/runtime/panic.go:443 +0x4e9
github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization.func1(0xc82010abf8, 0xc82001a070, 0xc82010ad08)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/runc-02f8fa7/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:259 +0x136
github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization(0xc82005a6e0, 0x7f7d3082a428, 0xc82013caf0)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/runc-02f8fa7/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:277 +0x5b1
main.glob.func8(0xc820078780, 0x0, 0x0)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/runc-02f8fa7/main_unix.go:26 +0x68
reflect.Value.call(0x7d9880, 0x983cb0, 0x13, 0x8cdd20, 0x4, 0xc82010b268, 0x1, 0x1, 0x0, 0x0, ...)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/toolchain/lib/golang/src/reflect/value.go:435 +0x120d
reflect.Value.Call(0x7d9880, 0x983cb0, 0x13, 0xc82010b268, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/toolchain/lib/golang/src/reflect/value.go:303 +0xb1
github.com/urfave/cli.HandleAction(0x7d9880, 0x983cb0, 0xc820078780, 0x0, 0x0)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/runc-02f8fa7/Godeps/_workspace/src/github.com/urfave/cli/app.go:487 +0x2ee
github.com/urfave/cli.Command.Run(0x8d0bb0, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x963560, 0x51, 0x0, ...)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/runc-02f8fa7/Godeps/_workspace/src/github.com/urfave/cli/command.go:191 +0xfec
github.com/urfave/cli.(*App).Run(0xc8200da180, 0xc82000a100, 0x2, 0x2, 0x0, 0x0)
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/runc-02f8fa7/Godeps/_workspace/src/github.com/urfave/cli/app.go:240 +0xaa4
main.main()
/home/chewitt/LibreELEC.70-addons/build.LibreELEC-Generic.x86_64-7.0-devel/runc-02f8fa7/main.go:137 +0xe24


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

You wouldn't use the Lambda deployment script if you're not using AWS Lambda.


RE: Amazon Echo skill for Kodi - stuCONNERS - 2016-11-07

I am using it instead, Gave up on the docker build of kodi-alexa, But libreelec doesn't include pip so had to use a docker python container then mount the directory which seems to be working. Wondered what the output in terminal would be before i carry on. To my completely untrained eye it seems fine lol

Just tested generate_custom_slots.py and it gave the same error so its wrong


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

I don't really understand.. isn't LibreELEC just a pared-down Linux distribution? Why would you run this inside a Docker container...? Why not just SSH into it (or open a Terminal if you're local to the machine) and follow the skill README normally?


This forum uses Lukasz Tkacz MyBB addons.