joeyberkovitz / plex-aaos

MIT License
13 stars 3 forks source link

Unable to handle large libraries #23

Open ladf opened 1 month ago

ladf commented 1 month ago

My plex music library is extensive and the app "encounters a problem" every time I try to list Albums or Artists. Also playlists with a couple of hundred tracks get split into these weird "0-100, 100-200" type of categories but they also do not always load. Could a longer timer be configured to allow for larger collections, and could we please have the possibility to browse our catalogs without these "0-100, 100-200" categories and instead see the artist and album names as a list?

joeyberkovitz commented 1 month ago

when you say "extensive", roughly how large is that and how many playlists do you have?

the splitting by index (0-100, ...) is due to a size restriction on Android Automotive. it doesn't allow lists to exceed a rough length, so if there are too many songs in a playlist, it has to be split up in some way. I chose by index because a playlist is typically ordered, although I'm open to changing the split logic while possibly keeping the playlist ordering if there are any preferences.

ladf commented 1 month ago

Hi! I currently have 498 artists, with 2504 albums, totalling 34.244 tracks (if the stats from PlexAmp is correct), and the collection is growing. If I select one of the "0-100"-categories then the app waits for some seconds and then goes back to the main start screen. Short playlists have so far been fine, but I have not created more than a few of them.

Some indication of where in will end up when selecting a category of 0-100 or 5-600 would be nice. Even better, a search function so I can quickly get to the artist I'm looking for.