Delay when playing All Albums smart playlist

Issue description:

Hi, in order to use a truly random shuffle of all tracks I use smart playlists, as suggested by Tolriq.

I’ve recently been exploring a(n album) smart playlist of all albums in a randomised order.

When opening this playlist and selecting an album from the list, there is a significant delay before playback. I have around 9900 tracks in my library.

This is not the case when doing the same thing on the randomised all tracks playlist, that loads instantly. I have uploaded a video titled with my username and the name of this thread to show the difference.

I believe I named the logs correctly as referenced here, it may be ever so slightly different, sorry, but it is a very similar name.

Edit: I’d like to say that the long press album skip when playing albums is a fantastic feature. Great job, thanks for that.

Logs:

Upload description: tobyburton96albumplaylist

Additional information:

Reproduction steps:

Media provider:

Local device

Screenshots:

Duplicate and normal, the app needs to convert all the albums to tracks with all the filters that may be enabled.

Ok then. Is there a way you could implement the same workaround you did when pressing the header buttons? i.e. It loads a few albums instantly (the one you clicked and the next few) and then loads the rest after a short delay?

No because there’s the ones before and no way to know where in the list you are.

Hey, just had a thought about this. Could it load all the way up to the selected album initially (so including the ones before it in the playlist, and then load the rest after? This would save time and solve the problem you mentioned. Possibly could load a few albums that come next too just to be safe.