Current versions of Material use a Javascript library called
vue-virtual-scroller to display large lists and grids. What this library
does is to only have what is currently visible (plus a few buffer items)
be part of the currently HTML DOM – i.e part of the web page. If you had
a list of 1000 albums and all were part of the page, then scrolling,
etc. would get very slow. This library works well, but has a couple of
issues that Material attempts to work-around. However, I have reported
an issue with the latest version to the author, but had no reply in over
5 months. I’ve also, but very rarely, seen Material have a list of
(e.g.) 6 albums, which would need 2 rows of 3 albums – but only the
first row was displayed. (Anyone else seen this?)

Because of this, I’ve implemented my own, *much* simpler version. This
appears to work reasonably well for me, but I’m concerned that it may
have a few issues. Therefore, I’d be interested in others trying out
this version and providing some feedback. Because it’s simpler, I’m not
expecting its speed to be as fast as the library version, but hopefully
its fast enough?

If you do wish to try, you will need to checkout the ‘devel’ branch from
Material’s github page. You can either provide feedback here, in email,
or on the github page.

If this new scrolling is not efficient enough, or has too many bugs, I’d
prefer to know sooner than later – so that I can revert to the library.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
------------------------------------------------------------------------
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

Reply via email to