Xyleme wrote: 
> I think I got it... Almost 380 albums and 250 artists in my library...
> 
> The log :
> > 
Code:
--------------------
  >   > [17-07-11 09:14:56.7602] Plugins::Spotty::API::_call (1015) Returning 
cached data for 
browse/featured-playlists?country=FR&limit=50&locale=fr_FR×tamp=2017-07-11T09%3A10%3A00
  > [17-07-11 09:14:59.9582] Plugins::Spotty::API::_call (1015) Returning 
cached data for 
browse/featured-playlists?country=FR&limit=50&locale=fr_FR×tamp=2017-07-11T09%3A10%3A00
  > [17-07-11 09:14:59.9795] Plugins::Spotty::API::_call (1021) API call: 
me/albums?limit=50
  > [17-07-11 09:15:01.2631] Plugins::Spotty::API::__ANON__ (1066) Caching 
result for 60 using max-age (https://api.spotify.com/v1/me/albums?limit=50)
  > [17-07-11 09:15:04.2413] Plugins::Spotty::API::Pipeline::_followOffset 
(155) There's more data to grab, queue them up: {
  > 50  => { limit => 50, offset => 50 },
  > 100 => { limit => 50, offset => 100 },
  > 150 => { limit => 50, offset => 150 },
  > 200 => { limit => 50, offset => 200 },
  > 250 => { limit => 50, offset => 250 },
  > 300 => { limit => 50, offset => 300 },
  > 350 => { limit => 50, offset => 350 },
  > }
  > [17-07-11 09:15:04.3983] Plugins::Spotty::API::_call (1015) Returning 
cached data for me/albums?limit=50&offset=150
  > [17-07-11 09:15:09.2059] Plugins::Spotty::API::_call (1015) Returning 
cached data for me/albums?limit=50&offset=200
  > [17-07-11 09:15:12.1220] Plugins::Spotty::API::_call (1015) Returning 
cached data for me/albums?limit=50&offset=250
  > [17-07-11 09:15:19.6625] Plugins::Spotty::API::_call (1021) API call: 
me/albums?limit=50&offset=100
  > [17-07-11 09:15:19.8535] Plugins::Spotty::API::_call (1021) API call: 
me/albums?limit=50&offset=50
  > [17-07-11 09:15:20.2046] Plugins::Spotty::API::_call (1015) Returning 
cached data for me/albums?limit=50&offset=300
  > [17-07-11 09:15:26.3676] Plugins::Spotty::API::_call (1021) API call: 
me/albums?limit=50&offset=350
  > [17-07-11 09:15:27.5413] Plugins::Spotty::API::__ANON__ (1066) Caching 
result for 60 using max-age 
(https://api.spotify.com/v1/me/albums?limit=50&offset=350)
  > [17-07-11 09:15:29.3998] Plugins::Spotty::API::__ANON__ (1066) Caching 
result for 60 using max-age 
(https://api.spotify.com/v1/me/albums?limit=50&offset=100)
  > [17-07-11 09:15:34.8080] Plugins::Spotty::API::__ANON__ (1066) Caching 
result for 60 using max-age 
(https://api.spotify.com/v1/me/albums?limit=50&offset=50)
--------------------
> > 
> 
> LMS is running on a Rpi2. I had no problems with the old spotify
> plugin, with same spotify account and "big" library. Only happen with
> Spotty.
> 
> Is there any workaround or setup to solve it ?

Hmm... that seems really low. It's doing eight queries to get you albums
list. But still: even cached results seem to take 5s to load! What kind
of storage are you using? Check Settings/Advanced/Performance, too: make
sure you set the db memory parameter to high or max. It might have an
impact on cache performance, too.



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=107615

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

Reply via email to