2016-11-15, 13:09
@jingai
Yep, all good.
Tested:
Result:
Well done, cheers
Yep, all good.
Tested:
Code:
# The Kodi webserver only supports HTTP.
#
# You can change KODI_SCHEME to https to tell the skill to use https (from AWS to your local network)
# It is assumed that you know what https is and that you have already set this up with your own certificates
# KODI_SCHEME = https
KODI_ADDRESS = supersecret.evenmoresecret.com
KODI_PORT = 34242
KODI_USERNAME = supersecretusername
KODI_PASSWORD = supersecretandsuperlongpassword
# If using a reverse proxy you might need to add an extra bit to the url before "jsonrpc"
#
# KODI_SCHEME://KODI_ADDRESS:KODI_PORT/KODI_SUBPATH/jsonrpc
#
# Set this with KODI_SUBPATH (no slashes)
# KODI_SUBPATH = supersecretsubpath
SKILL_APPID = amzn1.ask.skill.123123123123123212123312312321
LAMBDA_ENV_VARS = KODI_SCHEME,KODI_ADDRESS,KODI_PORT,KODI_SUBPATH,KODI_USERNAME,KODI_PASSWORD,SKILL_APPID
AWS_DEFAULT_REGION = eu-west-1
LAMBDA_TIMEOUT = 60
LAMBDA_MEMORY_SIZE = 128
LAMBDA_HANDLER = wsgi.lambda_handler
AWS_ACCESS_KEY_ID = ABDHSDGDHSKDHSALHFDSHFDJSHFJDLKS
AWS_SECRET_ACCESS_KEY = ASDASDASDASDASDASDASDASDASDASDASD
LAMBDA_ROLE = arn:aws:iam::123123123123:role/lambda_kodi_basic_execution
Result:
Code:
Sending request to http://supersecret.evenmoresecret.com:34242/jsonrpc
Well done, cheers