Manul wrote: > I see, thank you for clearing this up. Out of curiosity: How are the > jump points for the jump lists determined? I would have imagined that > would be the same mechanism but since these work I guess it must be > something different.
When fetching the A..Z list I explicity just ask for the "text keys", and the first 5(?) artists/albums. LMS returns with a list of key->index mappings. When using the jump list, I ask for all (well 25k max) artists/albums in one go. Each artist is also linked with a "text key". I simply iterate this list looking for the first occurance of each key. The artist/album list is then cached into the browser's IndexedDB to speed up subsequent displays of the list. Manul wrote: > > Thanks, searched the thread for "grid" and found it. Any chance of grid > view coming back for more than 300 items? I use a 3rd party "view recycler" library to handle large lists (so only what you see, plus a little bit extra, is part of the HMTL page). Currently this does not support grids, if and when it does then I'll port the grid code to use that. Still, its not a priority for me - as I use AlbumArtist -> Album listings, so that is where my focus lies. Code is open source, so others are free to improve. Manul wrote: > > @cpd73: This really is an amazing plugin and I do appreciate all the > work you put into it. Thank you very much! Thank you! And I appologise for being a bit "grumpy" in my previous replies, I really should not post when 1/2 asleep... ------------------------------------------------------------------------ cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686 View this thread: http://forums.slimdevices.com/showthread.php?t=109624 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
