nikclayton wrote: > Squeezer will do at most two image fetches in parallel, to: > > a) Avoid overloading the server. > > b) Avoid overloading lower-end phones. Fetching more images means you > have to have more images in memory on the device at once, and if your > album artwork is large this can easily exhaust lower-end Android devices > of memory. I'm aware that image requests can ask the server to resize > the image, but this can slow image fetches down even more. In my tests > it was faster to have Squeezer ask the server for a 1024x1024 album > artwork image and scale it down on the phone than it was to ask my > Squeezeserver (running on a QNAP 409) to scale the image first. And > trying to send too many of these resize-the-image requests to the server > resulted in my server consuming too much CPU and never recovering (to > the point where I had to restart the NAS). >
You should re-consider that. - Re-scaling takes time on the server but it got much better after LMS 7.6 and again in 7.9 - Also, the server caches these thumbnails so it only applies to the first time you load an image, after that requesting the scaled artwork is much faster. - Thirdly, since LMS 7.8 you can even use the "artworkspec add" command (see CLI documentation) to tell the server that you are using a certain format and then the server will pre-cache your artwork format during scans so they never have to be resized at runtime. - Fourthly, if you use one of the formats other Apps also use, the load (per App) will be even lower. I don't fully remember what the server provides by default (I think 50x50 is the biggest format) but iPeng for example uses 150x150_f and 300x300_f icon sizes. I don't know what other Apps use, somehow I seem to be the only one making the sizes public. The one thing you are doing right is to limit parallel requests. My experience is that three will always work, too, but with four icons being loaded in parallel some servers can get really slow and we recently had some discussions here about some other Android Apps locking up certain servers because they load five or more icons in parallel. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 7, the Universal App for iOS 7* ------------------------------------------------------------------------ pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101898 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
