2017-06-17, 17:57
If you send a log, I can verify.
[Sat Jun 17 19:22:36.150084 2017] [wsgi:error] Shuffling the playlist kids
[Sat Jun 17 19:22:36.150219 2017] [wsgi:error] Searching for video playlist "kids"
[Sat Jun 17 19:22:36.150273 2017] [wsgi:error] Sending request to http://localhost:8080/jsonrpc from device amzn1.ask.device.XXX
[Sat Jun 17 19:22:36.155654 2017] [wsgi:error] Trying to match: kids
[Sat Jun 17 19:22:36.155822 2017] [wsgi:error] Simple match failed, trying fuzzy match...
[Sat Jun 17 19:22:36.155835 2017] [wsgi:error] Processing 7 items...
[Sat Jun 17 19:22:36.155855 2017] [wsgi:error] heard: "kids"
[Sat Jun 17 19:22:36.156299 2017] [wsgi:error] Searching for audio playlist "kids"
[Sat Jun 17 19:22:36.156345 2017] [wsgi:error] Sending request to http://localhost:8080/jsonrpc from device amzn1.ask.device.XXX
[Sat Jun 17 19:22:36.158532 2017] [wsgi:error] Trying to match: kids
[Sat Jun 17 19:22:36.158606 2017] [wsgi:error] Simple match on direct comparison
[Sat Jun 17 19:22:36.158632 2017] [wsgi:error] Located audio playlist "Kids"
[Sat Jun 17 19:22:36.158687 2017] [wsgi:error] Sending request to http://localhost:8080/jsonrpc from device amzn1.ask.device.XXX
[Sat Jun 17 19:22:36.482712 2017] [wsgi:error] Sending request to http://localhost:8080/jsonrpc from device amzn1.ask.device.XXX
[Sat Jun 17 19:22:36.484093 2017] [wsgi:error] Sending request to http://localhost:8080/jsonrpc from device amzn1.ask.device.XXX
[Sat Jun 17 19:22:36.495036 2017] [wsgi:error] Adding 1305 items to the queue...
[Sat Jun 17 19:22:36.495756 2017] [wsgi:error] Sending request to http://localhost:8080/jsonrpc from device amzn1.ask.device.XXX
[Sat Jun 17 19:22:38.156160 2017] [wsgi:error] Sending request to http://localhost:8080/jsonrpc from device amzn1.ask.device.XXX
(2017-06-18, 13:21)jingai Wrote: It looks like where you redacted the last occurrence of the device ID you might have cut more than you should have.
[1497798542487] Rebooting system
[1497798542488] [INFO] 2017-06-18T15:09:02.488Z 1000aa2d-5438-11e7-8951-253793ac
142a 72.21.217.129 - - [18/Jun/2017:15:09:02 +0000] "POST / HTTP/1.1" 200 239 ""
"Apache-HttpClient/4.5.x (Java/1.8.0_112)" 0/321.804
[1497798610951] /var/task/fuzzywuzzy/fuzz.py:35: UserWarning: Using slow pure-py
thon SequenceMatcher. Install python-Levenshtein to remove this warning
[1497798611073] [DEBUG] 2017-06-18T15:10:11.73Z 3883253a-5438-11e7-8651-47313fc0
e2ea Zappa Event: {u'account': u'703057253001', u'region': u'us-east-1', u'detai
l': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version'
: u'0', u'time': u'2017-06-18T15:09:25Z', u'id': u'8021f49f-ddb7-41e1-bd71-d1263
6eb88e3', u'resources': [u'arn:aws:events:us-east-1:703057253001:rule/kodi-alexa
-dev-zappa-keep-warm-handler.keep_warm_callback']}
[1497798611073] [DEBUG] 2017-06-18T15:10:11.73Z 3883253a-5438-11e7-8651-47313fc0
e2ea Zappa Event: {}
[1497798611582] [DEBUG] 2017-06-18T15:10:11.582Z 395f543d-5438-11e7-9d0c-cd0b65e
7c0c0 Zappa Event: {u'body': u'eyJ2ZXJzaW9uIjoiMS4wIiwic2Vzc2lvbiI6eyJuZXciOmZhb
HNlLCJzZXNzaW9uSWQiOiJhbXpuMS5lY2hvLWFwaS5zZXNzaW9uLmQ3ODkwYWM4LTY3MjktNDkxMC05Z
mM3LWIwMTI4OGU0YTJlZiIsImFwcGxpY2F0aW9uIjp7ImFwcGxpY2F0aW9uSWQiOiJhbXpuMS5hc2suc
2tpbGwuYTI1OWQ3NDUtNGIzOC00NjU2LWE3N2QtYWQ3MDBjYTExMjQ5In0sInVzZXIiOnsidXNlcklkI
joiYW16bjEuYXNrLmFjY291bnQuQUZXREk1T1FCVVhDU0JLRUFRUEtWSkhTR0FMNktXQlQzRUwyRVlTQ
TNWRVJJNUU1RzJHNTQzU1dXM0hVSUdKMlo1QlBPVjdBM1pRVUNZUk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ijp7InR5cGUiOiJTZXNzaW9uRW5kZ
WRSZXF1ZXN0IiwicmVxdWVzdElkIjoiYW16bjEuZWNoby1hcGkucmVxdWVzdC5lZGUzYWRhZC1hNDMyL
TRjOWYtOGQ0Yi0zNjExNzkzODhhMWEiLCJ0aW1lc3RhbXAiOiIyMDE3LTA2LTE4VDE1OjEwOjExWiIsI
mxvY2FsZSI6ImVuLVVTIiwicmVhc29uIjoiRVJST1IiLCJlcnJvciI6eyJ0eXBlIjoiSU5WQUxJRF9SR
VNQT05TRSIsIm1lc3NhZ2UiOiJBbiBleGNlcHRpb24gb2NjdXJyZWQgd2hpbGUgZGlzcGF0Y2hpbmcgd
GhlIHJlcXVlc3QgdG8gdGhlIHNraWxsLiJ9fX0=', u'resource': u'/', u'requestContext':
{u'resourceId': u'8fybqeqr5e', u'apiId': u'5fj5egsgn2', u'resourcePath': u'/', u
'httpMethod': u'POST', u'requestId': u'39559101-5438-11e7-b72a-5b2a02dae812', u'
path': u'/dev', u'accountId': u'703057253001', u'identity': {u'apiKey': u'', u'u
serArn': None, u'cognitoAuthenticationType': None, u'accessKey': None, u'caller'
: None, u'userAgent': u'Apache-HttpClient/4.5.x (Java/1.8.0_112)', u'user': None
, u'cognitoIdentityPoolId': None, u'cognitoIdentityId': None, u'cognitoAuthentic
ationProvider': None, u'sourceIp': u'72.21.217.82', u'accountId': None}, u'stage
': u'dev'}, u'queryStringParameters': None, u'httpMethod': u'POST', u'pathParame
ters': None, u'headers': {u'Content-Type': u'application/json; charset=utf-8', u
'Via': u'1.1 aa9a6b87feabe1a30d21428a24c1a7d8.cloudfront.net (CloudFront)', u'Cl
oudFront-Is-Desktop-Viewer': u'true', u'CloudFront-Is-SmartTV-Viewer': u'false',
u'SignatureCertChainUrl': u'https://s3.amazonaws.com/echo.api/echo-api-cert-4.p
em', u'CloudFront-Is-Mobile-Viewer': u'false', u'X-Forwarded-For': u'72.21.217.8
2, 54.182.230.76', u'CloudFront-Viewer-Country': u'US', u'X-Forwarded-Port': u'4
43', u'Accept': u'application/json', u'User-Agent': u'Apache-HttpClient/4.5.x (J
ava/1.8.0_112)', u'X-Amzn-Trace-Id': u'Root=1-594697d3-15de87b06b7ae1ff51c018fa'
, u'Accept-Charset': u'utf-8', u'Host': u'5fj5egsgn2.execute-api.us-east-1.amazo
naws.com', u'X-Forwarded-Proto': u'https', u'X-Amz-Cf-Id': u'ZWWLUuIzNujhVRFUoNH
blSt1mXxCeYQWxIAgjQIItwK2FrEM9ohBCw==', u'CloudFront-Is-Tablet-Viewer': u'false'
, u'Signature': u'YsvCUtpV9PXqWxJ2Rn08vbaBsI5s1bJ8M+nFnacp8ZNunFh1rRd9iBDXemAM47
0+QA+DLxD79pqla9p+02Bg4W6JMPrJKJoU1PxQtZqdwSNL1fjqio90qGpSWuivVt4d4n024JNWXYSwJr
ZX3Edf4zT6wXP/I4PLiuHriE6tOs6CyoAjdq9yGJm3O45TDdy+bMHQ9nRTYu/pH1Vt3EDIyumvUMNLyk
EF8DsV6ja8mqcvgLRdws1g5eBUrulwyKTqsf/czBZU3lsAG44z30H1keS3ltewCPsf/SDdNSTUbVD9EF
cT81746pZKaM1GjOVNQ7aGklnpif+4yzFGxtcxLw==', u'CloudFront-Forwarded-Proto': u'ht
tps'}, u'stageVariables': None, u'path': u'/', u'isBase64Encoded': True}
[1497798611637] [INFO] 2017-06-18T15:10:11.636Z 395f543d-5438-11e7-9d0c-cd0b65e7
c0c0 72.21.217.82 - - [18/Jun/2017:15:10:11 +0000] "POST / HTTP/1.1" 200 0 "" "A
pache-HttpClient/4.5.x (Java/1.8.0_112)" 0/54.544
[1497798628028] Sending request to http://redacted
pc from device amzn1.ask.device.redacted
[1497798629043] [INFO] 2017-06-18T15:10:29.43Z 33498fb2-5438-11e7-a7d8-f1fc1b7f9
788 72.21.217.82 - - [18/Jun/2017:15:10:29 +0000] "POST / HTTP/1.1" 200 286 "" "
Apache-HttpClient/4.5.x (Java/1.8.0_112)" 0/27661.755
[1497798652509] Adjusting volume
[1497798652707] [INFO] 2017-06-18T15:10:52.707Z 51a9be51-5438-11e7-9026-63198049
04db 72.21.217.82 - - [18/Jun/2017:15:10:52 +0000] "POST / HTTP/1.1" 200 238 ""
"Apache-HttpClient/4.5.x (Java/1.8.0_112)" 0/373.523
?
15:08:50
START RequestId: 08797ac9-5438-11e7-9b90-5f60175b12de Version: $LATEST
?
15:08:50
/var/task/fuzzywuzzy/fuzz.py:35: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
?
15:08:50
[DEBUG] 2017-06-18T15:08:50.649Z 08797ac9-5438-11e7-9b90-5f60175b12de Zappa Event: {u'body': None, u'resource': u'/', u'requestContext': {u'resourceId': u'8fybqeqr5e', u'apiId': u'5fj5egsgn2', u'resourcePath': u'/', u'httpMethod': u'GET', u'requestId': u'085884bc-5438-11e7-bd96-f5c8e6eff846', u'path': u'/dev', u'accountId': u'703057253001', u'identity': {u'apiKey': u'', u'userArn': None, u'cognito
?
15:08:50
[INFO] 2017-06-18T15:08:50.650Z 08797ac9-5438-11e7-9b90-5f60175b12de 23.241.238.39 - - [18/Jun/2017:15:08:50 +0000] "GET / HTTP/1.1" 405 178 "" "python-requests/2.13.0" 0/1.074
?
15:08:50
END RequestId: 08797ac9-5438-11e7-9b90-5f60175b12de
?
15:08:50
REPORT RequestId: 08797ac9-5438-11e7-9b90-5f60175b12de Duration: 390.72 ms Billed Duration: 400 ms Memory Size: 512 MB Max Memory Used: 47 MB
?
15:08:58
START RequestId: 0da0c079-5438-11e7-8b1b-a5e4b5df013c Version: $LATEST
?
15:08:58
[INFO] 2017-06-18T15:08:58.278Z 0da0c079-5438-11e7-8b1b-a5e4b5df013c 72.21.217.129 - - [18/Jun/2017:15:08:58 +0000] "POST / HTTP/1.1" 200 243 "" "Apache-HttpClient/4.5.x (Java/1.8.0_112)" 0/90.054
?
15:08:58
END RequestId: 0da0c079-5438-11e7-8b1b-a5e4b5df013c
?
15:08:58
REPORT RequestId: 0da0c079-5438-11e7-8b1b-a5e4b5df013c Duration: 90.67 ms Billed Duration: 100 ms Memory Size: 512 MB Max Memory Used: 47 MB
?
15:09:02
START RequestId: 1000aa2d-5438-11e7-8951-253793ac142a Version: $LATEST
?
15:09:02
Sending request to redactedfrom device amzn1.ask.device.redacted
?
15:09:02
Rebooting system
?
15:09:02
[INFO] 2017-06-18T15:09:02.488Z 1000aa2d-5438-11e7-8951-253793ac142a 72.21.217.129 - - [18/Jun/2017:15:09:02 +0000] "POST / HTTP/1.1" 200 239 "" "Apache-HttpClient/4.5.x (Java/1.8.0_112)" 0/321.804
?
15:09:02
END RequestId: 1000aa2d-5438-11e7-8951-253793ac142a
?
15:09:02
REPORT RequestId: 1000aa2d-5438-11e7-8951-253793ac142a Duration: 322.42 ms Billed Duration: 400 ms Memory Size: 512 MB Max Memory Used: 47 MB
?
15:10:01
START RequestId: 33498fb2-5438-11e7-a7d8-f1fc1b7f9788 Version: $LATEST
?
15:10:01
Shuffling playlist classical
?
15:10:01
Searching for video playlist "classical"
?
15:10:01
Sending request to http://redacted from device amzn1.ask.device.redacted
?
15:10:01
Trying to match: classical
?
15:10:01
Simple match failed, trying fuzzy match...
?
15:10:01
heard: "classical"
?
15:10:01
-- Score 25% too low for "Science Fiction"
?
15:10:01
digits2roman: "classical"
?
15:10:01
-- Score 25% too low for "Science Fiction"
?
15:10:01
words2roman: "classical"
?
15:10:01
-- Score 25% too low for "Science Fiction"
?
15:10:01
words2digits: "classical"
?
15:10:01
-- Score 25% too low for "Science Fiction"
?
15:10:01
digits2words: "classical"
?
15:10:01
-- Score 25% too low for "Science Fiction"
?
15:10:01
Searching for audio playlist "classical"
?
15:10:01
Sending request to http://redacted from device amzn1.ask.device.redacted
?
15:10:01
Trying to match: classical
?
15:10:01
Simple match on direct comparison
?
15:10:01
Located audio playlist "Classical"
?
15:10:01
Sending request to http://redacted from device amzn1.ask.device.redacted
?
15:10:03
Sending request to http://redacted from device amzn1.ask.device.redacted
?
15:10:03
Sending request to http://redacted from device amzn1.ask.device.redacted
?
15:10:04
Adding 1020 items to the queue...
?
15:10:04
Sending request to http://redacted from device amzn1.ask.device.redacted
?
15:10:28
Sending request to http://redacted from device amzn1.ask.device.redacted
?
15:10:29
[INFO] 2017-06-18T15:10:29.43Z 33498fb2-5438-11e7-a7d8-f1fc1b7f9788 72.21.217.82 - - [18/Jun/2017:15:10:29 +0000] "POST / HTTP/1.1" 200 286 "" "Apache-HttpClient/4.5.x (Java/1.8.0_112)" 0/27661.755
?
15:10:29
END RequestId: 33498fb2-5438-11e7-a7d8-f1fc1b7f9788
?
15:10:29
REPORT RequestId: 33498fb2-5438-11e7-a7d8-f1fc1b7f9788 Duration: 27662.55 ms Billed Duration: 27700 ms Memory Size: 512 MB Max Memory Used: 53 MB
?
15:10:52
START RequestId: 51a9be51-5438-11e7-9026-6319804904db Version: $LATEST
?
15:10:52
Adjusting volume
?
15:10:52
Sending request to http://redacted from device amzn1.ask.device.redacted
?
15:10:52
[INFO] 2017-06-18T15:10:52.707Z 51a9be51-5438-11e7-9026-6319804904db 72.21.217.82 - - [18/Jun/2017:15:10:52 +0000] "POST / HTTP/1.1" 200 238 "" "Apache-HttpClient/4.5.x (Java/1.8.0_112)" 0/373.523
?
15:10:52
END RequestId: 51a9be51-5438-11e7-9026-6319804904db
?
15:10:52
REPORT RequestId: 51a9be51-5438-11e7-9026-6319804904db Duration: 374.25 ms Billed Duration: 400 ms Memory Size: 512 MB Max Memory Used: 53 MB
?
15:14:10
START RequestId: c7705954-5438-11e7-a8e2-235fb662d992 Version: $LATEST
?
15:14:10
END RequestId: c7705954-5438-11e7-a8e2-235fb662d992
?
15:14:10
REPORT RequestId: c7705954-5438-11e7-a8e2-235fb662d992 Duration: 0.41 ms Billed Duration: 100 ms Memory Size: 512 MB Max Memory Used: 53 MB
No newer events found at the moment. Retry.
(2017-06-20, 02:43)jingai Wrote: Is this your first time setting up the skill? If not, make sure you regenerate your slots -- there should be no more than 100 items in each slot.
Are you using the beta builder? If so, does it fail with the old one too?
(2017-06-20, 13:39)jingai Wrote: @Xtropy, as we've added new features, we've had to progressively limit the number of items in each slot to avoid the issue you're seeing. This is an Amazon limitation. However, this doesn't affect match quality; in fact, that has improved over time.
In the future, please read over the upgrading instructions when updating to a new version.
(2017-06-20, 20:31)Xtropy Wrote:(2017-06-20, 13:39)jingai Wrote: @Xtropy, as we've added new features, we've had to progressively limit the number of items in each slot to avoid the issue you're seeing. This is an Amazon limitation. However, this doesn't affect match quality; in fact, that has improved over time.
In the future, please read over the upgrading instructions when updating to a new version.
Thanks for the reply. Yes, I did read over that file but it did not indicate this limitation only "There might be issues with large libraries" which was a bit vague. I ended up not using the Music slots and was able to save ok with over a thousand movies/tv shows. You're right, it's much more responsive. Thanks for the help
(2017-06-20, 20:50)jingai Wrote: You shouldn't do this, unless you just don't use Kodi-Alexa for music at all. You really should re-generate your slot items as UPGRADING suggests.
At this point, the items in the slots matter very little. You will be better off letting the slot generator do its thing.