Michael,

I've started revisiting this a bit defining a library using the advanced
search and I'm having some serious performance issues plus I think I
found a bug in your filtering.

Here's what I've done. I have defined a library like mentioned above for
"Music without audiobooks", essentially a list of genres to be excluded
when browsing. That list _might_ be a bit long (10 or 15 genres or so)
but still, it's a one-dimensional filter (only genres being excluded).

My test library has some 16K tracks, 1K Albums and 9.5K Artists (480 of
which are Albumartists), so I'd call this a moderately sized test
library, LMS runs on a MacBook Pro.


THE BUG IS SIMPLE[/B]: IF YOU APPLY A FILTER YOU CAN NOW OVERRIDE THAT
FILTER FOR BROWSING (BY SIMPLY NOT SPECIFYING THE LIBRARY_ID) BUT YOU
CAN'T SEEM TO BE ABLE TO DO THAT FOR PLAYING.
WHAT THIS MEANS IS: IF I BROWSE A MENU THAT IS _OUTSIDE_ THE FILTERED
HIERARCHY I CAN STILL BROWSE STUFF AND GET DOWN TO THE TRACK LEVEL BUT
WHEN I TRY TO PLAY SUCH A TRACK OR ALBUM IT WON'T DO IT, THE PLAYLIST
GETS CLEARED AND STAY EMPTY.

THIS ONLY APPLIES TO ALBUMS, NOT PLAYING INDIVIDUAL SONGS THROUGH THE
CONTEXT MENU (WHICH WORKS).
I SUSPECT YOU DO SOME TRACK LOOKUP FROM THE ALBUM WHEN PLAYING A WHOLE
ALBUM AND APPLY THE DEFAULT FILTER THERE WHICH THEN CONFLICTS WITH THE
ALBUM NOT BEING IN THE \"DEFAULT\" LIBRARY.

SAME BEHAVIOR IN YOUR IOS/ANDROID APP (USING YOUR BROWSE STRUCTURE) AND
IN IPENG (USING IPENG'S OWN FILTERING WHICH WOULD USE A REQUEST ENTIRELY
WITHOUT ANY LIBRARY_ID IN THIS CASE). WHICH IS A BIT FUNNY CONSIDERING
HOW DIFFERENT THE TWO WORK...
NOTHING IN THE LOGS.

[B]THE PERFORMANCE ISSUE LOOKS MORE LIKE A NOTORIOUS PROBLEM
With this enabled my main "All Artists" and "All Albums" lists still
work reasonably well. But as soon as I add an additional filter the
results get really, really slow.
A good example is "Album Artists" - still OK. But opening "All Albums"
for "Album Artists" makes it really slow, something like 6-7 minutes
only to load the album list (1K Albums).

I suspect the problem is that now the server has to apply the library
filter (list of Genres) and also apply an artist role filter
("Albumartists", which are a small subset - 480 - of all artists), plus,
it needs to sort the results (by Artist). This seems to be too much for
the poor server, even with the "maximum" memory setting.

This time the behavior between iPeng and your App is a little different:
iPeng will take several minutes to load the list while your App bails
out with a timeout message and doesn't load it at all - probably the
same underlying issue, though, the performance is too bad.

Could you check whether something weird is going on or does this use
case need additional indexes or something?



---
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 8, the Universal App for iOS 7 and iOS 8*
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=101701

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

Reply via email to