2017-02-17, 23:49
It's working now
(2017-02-18, 00:50)digiltd Wrote:(2017-02-17, 23:49)T800 Wrote: It's working now
Did you do anything different to get it working?
If you have a large number of slots it will take a long time to build the Skill. Try reducing them, especially if you have have thousands, you might be able to get away with a hundred or so for each.
(2017-01-27, 18:14)rmohsen Wrote:(2017-01-27, 17:57)jingai Wrote:(2017-01-27, 17:14)rmohsen Wrote: I use " Alexa , ask Kodi to play movie fences " it didn't work but i tried again after my post and worked with " Die Hard " basic commands working fine , play , pause and navigation but music or videos doesn't work at all. Worked a couple of times with certain movies and shows.
How many movies do you have in your MOVIES slot?
Could you try "Alexa, ask Kodi to watch movie Fences"? It should work with "play movie" too, but let's see if you get different results with "watch movie".
Thanks a lot , it worked better with " watch movie " but I get different responses , sometimes video is not supported on this device , other times Alexa can't find the skill or just no reply at all. Same with TV shows and music. I have around 1300 movie in my library
(2017-02-18, 11:37)T800 Wrote:(2017-01-27, 18:14)rmohsen Wrote:(2017-01-27, 17:57)jingai Wrote: How many movies do you have in your MOVIES slot?
Could you try "Alexa, ask Kodi to watch movie Fences"? It should work with "play movie" too, but let's see if you get different results with "watch movie".
Thanks a lot , it worked better with " watch movie " but I get different responses , sometimes video is not supported on this device , other times Alexa can't find the skill or just no reply at all. Same with TV shows and music. I have around 1300 movie in my library
Mine is actually working now but I often get this problem too as it think the movies and music should come from amazon. Maybe a UK thing?
I do find I'm getting different responses talking to the Echo than I do typing in the service simulator. If I type "ask kodi to navigate right" it does it on the TV and it's successful. If I verbally ask kodi to navigate right it says "I'm not quite sure how to help you with that"
I can say verbally "Echo, ask Kodi to play movie The Terminator" The first two times it says something about the video not being supported on this device and on the third it plays the movie
EDIT:
I've just now changed the Invocation Name from "cody" to "kodi" and now it navigates fine and it plays now without an issue so far. It's working much better!
(2017-02-18, 15:19)popy Wrote: Guys, I have implemented pvr tv channel switching into pre 2.5 [emoji6]
Sadly I have not much spare time to make pull requests.
Should ill upload the changed files anywhere?
They can be easily compared merged with beyond compare or similar.
pOpY
Gesendet von meinem LG-H815 mit Tapatalk
Quote:Access key ID : ABCDEFGHIJKLMNOPQRST14/. Click on 'Roles' on the dashboard (left hand side) and click on 'Create New Role'
Secret access key: 1234567890abcdefghijklmnopqrstuvwxyz1234
Quote:Role ARN : arn:aws:iam::123456789012:role/lambda
# The Kodi webserver only supports HTTP.
# Uncomment KODI_SCHEME to tell the skill to use https between AWS and your local network
# (only use if you have already set this up with your own certificates)
#
# KODI_SCHEME = https
# If using a reverse proxy you might need to add an extra bit to the url before "jsonrpc"
# You can do this with KODI_SUBPATH (don't use slashes before or after)
#
# KODI_SUBPATH =
KODI_ADDRESS = blah.ddns.net
KODI_PORT = 8041
KODI_USERNAME = kodi
KODI_PASSWORD = password
SKILL_APPID =
# Your local time zone for responses that include absolute times.
# See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
#
# For example, if you are in the Eastern US time zone, you would use:
# SKILL_TZ = US/Eastern
#
# Leave empty or undefined (commented out) if you don't need or want absolute
# time responses. An example is asking when the currently playing item will
# end. If you have SKILL_TZ defined, it will also tell you the wall-clock
# time when the item will conclude.
SKILL_TZ =
LAMBDA_ENV_VARS = KODI_SCHEME,KODI_ADDRESS,KODI_PORT,KODI_SUBPATH,KODI_USERNAME,KODI_PASSWORD,SKILL_APPID,SKILL_TZ
AWS_DEFAULT_REGION = eu-west-1
LAMBDA_TIMEOUT = 60
LAMBDA_MEMORY_SIZE = 128
LAMBDA_HANDLER = wsgi.lambda_handler
AWS_ACCESS_KEY_ID = ABCDEFGHIJKLMNOPQRST
AWS_SECRET_ACCESS_KEY = 1234567890abcdefghijklmnopqrstuvwxyz1234
LAMBDA_ROLE = arn:aws:iam::123456789012:role/lambda
Quote:arn:aws:lambda:eu-west-1:123456789012:function:kodi-alexa
Quote:Skill type : 'Custom Interaction model'39/. Click on 'Save' and then 'Next'
Language : 'English (U.K.)
Name : Kodi
Invocation Name : kodi
Audio player directives? : No
Quote:Kodi Address : http://blah.ddns.net42/. For my particular setup, I have a large number of items in the SHOWS, MOVIES, MOVIEGENRES, MUSICARTISTS, MUSICALBUMS, MUSICSONGS and ADDONS slots (and nothing for MUSICPLAYLISTS and VIDEOPLAYLISTS). Just in case there is an issue with a large number of items in each slot, I have limited each one to up to 4 items. For MUSICPLAYLISTS and VIDEOPLAYLISTS, there is one item called 'Empty'.
Port : 8041
Kodi Username : kodi
Kodi Password : password
Quote:Dexter44/. Click on 'Add Slot Type', enter type is 'MOVIES' and enter the following values before clicking on the 'Save' button:
Downton Abbey
Grey's Anatomy
Quote:Mission to Mars44/. Click on 'Add Slot Type', enter type is 'MOVIEGENRES' and enter the following values before clicking on the 'Save' button:
Aladdin
Goldfinger
Total Recall
Quote:Music45/. Click on 'Add Slot Type', enter type is 'MUSICARTISTS' and enter the following values before clicking on the 'Save' button:
Animation
Drama
Science Fiction
Quote:S Club 746/. Click on 'Add Slot Type', enter type is 'MUSICALBUMS' and enter the following values before clicking on the 'Save' button:
Madonna
James Brown
Oasis
Quote:Hey Jude47/. Click on 'Add Slot Type', enter type is 'MUSICSONGS' and enter the following values before clicking on the 'Save' button:
#1's
The Collection
Evil Empire
Quote:Nakasaki I Need a Lover Tonight48/. Click on 'Add Slot Type', enter type is 'MUSICPLAYLISTS' and enter the following values before clicking on the 'Save' button:
Nothing Compares 2 U
Crazy
Live To Win
Quote:Empty49/. Click on 'Add Slot Type', enter type is 'VIDEOPLAYLISTS' and enter the following values before clicking on the 'Save' button:
Quote:Empty50/. Click on 'Add Slot Type', enter type is 'ADDONS' and enter the following values before clicking on the 'Save' button:
Quote:OpenELEC Configuration51/. Copy and paste the contents of 'alexa.intents' to the intent schema (note the blank line at the end of the original contents is removed).
YouTube
iPlayer WWW
Quote:arn:aws:lambda:eu-west-1:123456789012:function:kodi-alexa56/. Select 'No' to account linking, then 'Save' and then 'Next'
Quote:Category : Smart Home59/. Click 'Save' and then 'Next'
Testing Instructions : Kodi Alexa
Countries & Regions : 'In all countries and regions where Amazon distributes skills'
Short Skill Description : Kodi Alexa
Full Skill Description : Kodi Alexa
Examples Phrases : [INSERT 3 EXAMPLE PHRASES]
Small icon : Browse and choose any JPEG of size 108x108 (if required use Paintshop Pro to create one)
Large icon : Browse and choose any JPEG of size 512x512 (if required use Paintshop Pro to create one)
2017-02-19 18:15:02:INFO:botocore.credentials: Found credentials in environment variables.
2017-02-19 18:15:02:INFO:lambda_deploy: Packaging lambda kodi-alexa
2017-02-19 18:15:02:WARNING:lambda_deploy: A .env file exists in your Lambda directory - be careful that it does not contain any secrets you don't want uploaded to AWS!
2017-02-19 18:15:02:WARNING:lambda_deploy: Skipping inclusion of of .env file - use LAMBDA_ENV_VARS instead (see documentation for more information)
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 335, in run
prefix=options.prefix_path,
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 742, in install
**kwargs
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 831, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1032, in move_wheel_files
isolated=self.isolated,
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 247, in move_wheel_files
prefix=prefix,
File "/usr/lib/python2.7/dist-packages/pip/locations.py", line 153, in distutils_scheme
i.finalize_options()
File "/usr/share/python-wheels/setuptools-26.1.1-py2.py3-none-any.whl/setuptools/command/install.py", line 38, in finalize_options
orig.install.finalize_options(self)
File "/usr/lib/python2.7/distutils/command/install.py", line 289, in finalize_options
raise DistutilsOptionError("can't combine user with prefix, "
DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Traceback (most recent call last):
File "/home/r/.local/bin/lambda-deploy", line 11, in <module>
sys.exit(main())
File "/home/r/.local/lib/python2.7/site-packages/lambda_deploy/lambda_deploy.py", line 376, in main
method()
File "/home/r/.local/lib/python2.7/site-packages/lambda_deploy/lambda_deploy.py", line 172, in deploy
zfh = self.package()
File "/home/r/.local/lib/python2.7/site-packages/lambda_deploy/lambda_deploy.py", line 156, in package
self.lambda_name
lambda_deploy.lambda_deploy.DependencyInstallationError: Failed to install dependencies of kodi-alexa
Collecting requests (from -r /home/r/kodi-alexa-master/kodi-alexa/requirements.txt (line 1))
Using cached requests-2.13.0-py2.py3-none-any.whl
Collecting gunicorn (from -r /home/r/kodi-alexa-master/kodi-alexa/requirements.txt (line 2))
Downloading gunicorn-19.6.0-py2.py3-none-any.whl (114kB)
Collecting yaep (from -r /home/r/kodi-alexa-master/kodi-alexa/requirements.txt (line 3))
Using cached yaep-0.0.6-py2-none-any.whl
Collecting pycountry (from -r /home/r/kodi-alexa-master/kodi-alexa/requirements.txt (line 4))
Downloading pycountry-17.1.8.tar.gz (9.0MB)
Collecting pytz (from -r /home/r/kodi-alexa-master/kodi-alexa/requirements.txt (line 5))
Downloading pytz-2016.10-py2.py3-none-any.whl (483kB)
Collecting fuzzywuzzy (from -r /home/r/kodi-alexa-master/kodi-alexa/requirements.txt (line 6))
Downloading fuzzywuzzy-0.14.0-py2.py3-none-any.whl
Building wheels for collected packages: pycountry
Running setup.py bdist_wheel for pycountry: started
Running setup.py bdist_wheel for pycountry: finished with status 'done'
Stored in directory: /home/r/.cache/pip/wheels/08/84/6d/250dc9033fcd7640bf49a564a1d2d77fb0f21501b5042fa8be
Successfully built pycountry
Installing collected packages: requests, gunicorn, yaep, pycountry, pytz, fuzzywuzzy