mherger wrote: 
> 1.87 - improve Artist/Albums browse behaviour.
> 
> I didn't implement the specific artist search yet. Maybe I'll add a 
> preference to define whether you want to get the fastest or the most 
> complete response. Using the old vs. the new method for an artist with a
> 
> long album list (eg. Frank Zappa) I would get considerably different 
> results (less albums using the new method). But the solution you 
> suggested is much faster, even on my MacBook. Thanks a lot!
> 
> What Linux are you running on your Pi, and how did you install LMS?
> 
> -- 
> 
> Michael

It seems that the maximum number of album returned by default is 25.  
By setting the limit parameter , it s possible to increase it. 

sub getArtist {

        my ($class, $cb, $artistId) = @_;
        
        _get('artist/get', $cb, {
                artist_id => $artistId
                , extra => 'albums'     # Add 2/1/2014 returns the list of 
albums 
                , limit => DEFAULT_LIMIT # Add 3/1/2014 set the limit
        });
}

There is now 66 albums for Frank Zappa.

Info on my PI : 

Logitech Media Server Version : 7.8.0 - 1387542508 @ Fri Dec 27
19:05:37 PST 2013
Nom d'hôte : squeezeplug
Adresse IP du serveur : 192.168.1.36
Port HTTP du serveur : 9000
Système d'exploitation : Debian - FR - utf8 
Architecture de la plate-forme : armv7l-linux
Version de Perl : 5.14.2 - arm-linux-gnueabihf-thread-multi-64int
Version de la base de données : DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Platines identifiées : 1


Regards,
Christian


------------------------------------------------------------------------
Cfo92130's Profile: http://forums.slimdevices.com/member.php?userid=45196
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to