I still can not create any mixes. I use lms 7.7.2 on debian. 
In the log it seems the scanner works fine and the catalog is created,
but there is also the '"400 Bad Request",' and 'Failed to create
playlist for 'Classic Rock'.' in the log.
Below the last part of the logfile.



[12-12-31 09:31:01.2748] Plugins::SmartMix::API::_call (215) Async API
call: GET
http://developer.echonest.com/api/v4/catalog/read?id=CAKBQOM13BEBA29A2E&results=100&start=18700&api_key=*
[12-12-31 09:31:07.3562] Plugins::SmartMix::API::_call (215) Async API
call: POST http://developer.echonest.com/api/v4/catalog/update
[12-12-31 09:31:07.3566] Plugins::SmartMix::API::_call (216) (

"data=%5B%7B%22item%22%3A%7B%22item_id%22%3A%220b0250c850357b43fc5eb9e0c6293d4a%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%220fc19987880e18d1772d8e45a570696e%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%221ca04ef28a1934a938d61c27360d6040%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%221d7c91b577e4b0c57dbd85a446adf023%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%221fbe089da00c2edc315b6fc74d6224ff%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%22247b6321a48ec3d06241673d9c386cee%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%223032c86d260561c3e09822faeb6e0b13%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%2263a4c9a16b9f0b10c188a2b189a886f8%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%226b86323e3de8e665ffd027a1f0650e4b%22%7D%2C%22act
 
ion%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%2271d12832115b8d7fbdc5ddfacee062c6%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%227c48effe55558a02e1aadb2cca355e66%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%22a888370fcb2c98d33b9eb9b72b55ad76%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%22b87fb0c0d96ab7a375de694ed1a220d5%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%22c48366f6378e88dc62b1ebfb968b7f6c%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%22c670b86f1c812f7b24d80b3eb80288a8%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%22d164569c13946b63ad8e30c53fc09de6%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%22f22a05b73a9020bfbaf35b595ddedede%22%7D%2C%22action%22%3A%22delete%22%7D%2C%7B%22item%22%3A%7B%22item_id%22%3A%22f36033796a7c89888143f8c910a8
 4f36%22%7D%2C%22action%22%3A%22delete%22%7D%5D",
"id=CAKBQOM13BEBA29A2E",
"api_key=*",
)
[12-12-31 09:31:12.4062] Plugins::SmartMix::Importer::_purgeCatalog
(196) Catalog cleanup has finished
[12-12-31 09:57:43.8562] Plugins::SmartMix::Plugin::createMix (344)
Starting dynamic mix using: {
name  => "Classic Rock",
style => ["classic rock^2", "rock", "-r&b"],
type  => "artist-description",
}
[12-12-31 09:57:43.8566] Plugins::SmartMix::API::_call (215) Async API
call: GET
http://developer.echonest.com/api/v4/playlist/dynamic/create?style=classic%20rock%5E2&style=rock&style=-r%26b&limit=true&type=artist-description&api_key=*
[12-12-31 09:57:43.8577] Plugins::SmartMix::API::_call (215) Async API
call: POST http://developer.echonest.com/api/v4/catalog/update
[12-12-31 09:57:43.8580] Plugins::SmartMix::API::_call (216) (

"data=%5B%7B%22catalog_keyvalues%22%3A%7B%22timestamp%22%3A%221356944263%22%7D%2C%22action%22%3A%22update%22%7D%5D",
"id=CAKBQOM13BEBA29A2E",
"api_key=*",
)
[12-12-31 09:57:44.4881] Plugins::SmartMix::API::__ANON__ (224) do {
my $a = bless([
sub { "???" },
'fix',
{ params => {}, timeout => 15 },
"GET",

"http://developer.echonest.com/api/v4/playlist/dynamic/create?style=classic%20rock%5E2&style=rock&style=-r%26b&limit=true&type=artist-description&api_key=*";,
"400 Bad Request",
undef,
undef,
undef,
undef,
undef,
undef,
], "Slim::Networking::SimpleAsyncHTTP");
$a->[1] = $a->[0];
($a, "400 Bad Request");
}
[12-12-31 09:57:44.4884] Plugins::SmartMix::Plugin::_createMixCb (390)
Failed to create playlist for 'Classic Rock'.
[12-12-31 09:57:44.4888] Plugins::SmartMix::Plugin::_createMixCb (391)
{
_smartmix_args => {
bucket => [],
limit  => "true",
style  => ["classic rock^2", "rock", "-r&b"],
type   => "artist-description",
},
}


------------------------------------------------------------------------
raven22's Profile: http://forums.slimdevices.com/member.php?userid=16511
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to