2017-11-28, 22:33
"continue last show" does this.
(2017-11-29, 17:56)melons2 Wrote: This is still a difficult setup for a non-coder.I'm a 'non-coder' & I managed it.
Will this become a a skill that can be "enabled" soon?
(2017-11-30, 13:35)FoxForceFive Wrote: Yes, it's not straightforward, & yes, it takes time, but I wouldn't say it was difficult (the trickiest thing was re-ordering the steps cos Amazon have changed their end so things go in a different order to the guide).would be very much appreciated - I am thinking about to integrate this skill but it seems pretty much time consuming and complicated especially when you are mentioning that the guide is partially outdated.
I did struggle a bit when adding a new echo & trying to link it to another kodi device as it wasn't clear which steps to re-do, & I've actually started to write a brief step by step on how to do that, which I'm happy to post here if it will help anyone.
(2017-12-01, 14:54)jingai Wrote: Which guide are you guys referring to? The official README on Github should be current, and that's what you should be using. We can never guarantee that third party guides will be up-to-date with the changes we make in the code.In the readme the skill setup part was in a different order to the way amazon is displayed now. It just had the fields in a slightly changed order. It was still easy enough to follow as soon as I realised.
(2017-12-01, 09:02)laola Wrote:The step by step I've written only refers to adding a new echo device to the setup to talk to another kodi. Not the entire thing.(2017-11-30, 13:35)FoxForceFive Wrote: Yes, it's not straightforward, & yes, it takes time, but I wouldn't say it was difficult (the trickiest thing was re-ordering the steps cos Amazon have changed their end so things go in a different order to the guide).would be very much appreciated - I am thinking about to integrate this skill but it seems pretty much time consuming and complicated especially when you are mentioning that the guide is partially outdated.
I did struggle a bit when adding a new echo & trying to link it to another kodi device as it wasn't clear which steps to re-do, & I've actually started to write a brief step by step on how to do that, which I'm happy to post here if it will help anyone.
(2017-12-04, 03:23)adenicol Wrote: I am having some trouble getting this set up on a self hosted server. I believe I have all the right things installed but when I go to hit the code from a web browser or through the tester on developer.amazon I am getting a 500 error. I think it has something to do with my apache .conf file setup but I am not sure... I am not a python person and don't know how to debug it to find out what the issue is or even where it is setting it's log files.Try hitting https://192.168.0.19/kodi-alexa
In my apache conf file I have:
<VirtualHost 192.168.0.19:443>
# WSGIDaemonProcess kodi user=kodi group=kodi threads=5 home=/home/kodi/public_html/
# WSGIScriptAlias / /home/kodi/public_html/alexa.py
WSGIScriptAlias /kodi-alexa /home/kodi/public_html/kodi-alexa/alexa.wsgi
SuexecUserGroup "#1001" "#1001"
ServerName x.x.x.x
DocumentRoot /home/kodi/public_html
ErrorLog /var/log/virtualmin/kodi_error_log
CustomLog /var/log/virtualmin/kodi_access_log combined
ScriptAlias /cgi-bin/ /home/kodi/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5 alexa.py
<Directory /home/kodi/public_html/>
# WSGIProcessGroup kodi
# WSGIApplicationGroup %{GLOBAL}
# WSGIScriptReloading On
# Order deny,allow
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddType application/x-httpd-php7.0 .php7.0
AddType application/x-httpd-php7.0 .php
Action application/x-httpd-php7.0 /cgi-bin/php7.0.cgi
AddHandler cgi-script .py
</Directory>
<Directory /home/kodi/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
SetHandler cgi-script
</Directory>
RewriteEngine on
RemoveHandler .php
RemoveHandler .php7.0
SSLEngine on
SSLCertificateFile /home/kodi/ssl.cert
SSLCertificateKeyFile /home/kodi/ssl.key
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCACertificateFile /home/kodi/ssl.ca
</VirtualHost>
I tried accessing this both remotelly and locally by all these:
https://192.168.0.19/alexa.py - I get an error 500 internal server error
https://192.168.0.19/alexa.wsgi - displays the text inside the apexa.wsgi file
https://192.168.0.19/kodi-alexa/alexa.py - I get an error 400 file not found
https://192.168.0.19/kodi-alexa/alexa.wsgi - I get an error 400 file not found
On the 500 error my apache error log says : End of script output before headers: alexa.py
I have duplicated the file structure in both the web root and the kodi-alexa folder that is created when copying git.
Anyone have any suggestions or where i can find an updated self host instructions document covering the setup of the self host server (preferable running ubuntu)?
(2017-12-03, 16:17)jingai Wrote: We actually are trying to publish the skill, but there's a lot of pieces that may prevent it from being accepted and even if it is accepted, it will probably be a little while. Amazon is slow to certify even simple skills, and this one is definitely not small or simple.
However, even if they don't accept, we do have bits written up to make the process easier and to host it for you guys. But m0ngr31 would probably have to charge for this, as hosting for a bunch of people won't be free for him.