Ok, this change seems to be working:

Code:
--------------------
        push @$items, {
                type  => 'playlist',
                name  => cstring($client, 'PLUGIN_SPOTTY_TOP_TRACKS'),
  #             items => trackList($client, $artistInfo->{tracks}),
                url   => sub {
                        my ($client, $cb) = @_;
                        $cb->(trackList($client, $artistInfo->{tracks}));
                },
  
--------------------


Replace the items with a function call to return the same (url =>
....).

Unfortunately my poor old Android tablet is totally broken, and I can
hardly get it to connect to anything. But it did work for a few minutes
before it hung again.



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=108052

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

Reply via email to