Performance advice for generating paylist

102 views
Skip to first unread message

Ernst-Wilhelm Grüter

unread,
Nov 7, 2023, 8:53:48 AM11/7/23
to BubbleUPnP
Hi,

my music library (50.000 mp3 items)  is stored on a qnap nas (5.1) and provided by minimserver (2.2). Played on a receiver. Controlled by Android smartphone (12).

Selecting a larger genre to be played, it tooks some time until the first item can be played. Sometimes way too long.
In addition to that the popup message about adding files to the playlist with the cancel button seems to be active even when adding files are finished.

Is there a guideline to improve performance? Or are there known user errors?

Many thanks, Wilhelm

SimBun

unread,
Nov 9, 2023, 3:37:25 AM11/9/23
to BubbleUPnP
How many tracks are you adding and how long is "way too long"? Are you using BubbleUPnP Server?

If you're Shuffling/Enqueueing/Adding from the Genre index itself (by selecting the vertical ellipis next to Pop/Rock/Classical e.t.c.), try instead to select the genre then Shuffle/Enqueue/Add from the resulting items list instead.

I think I've heard that using the 'Random tracks / Random albums' is the most efficient way to achieve this kind of thing, but unfortunately it's only available at the top level index. If the above suggestion doesn't help maybe adding this functionality to lower levels would (in the ellipsis menu).

Bubblesoft

unread,
Nov 9, 2023, 4:29:02 AM11/9/23
to BubbleUPnP
Hi,

Thank you for your interest in BubbleUPnP.

What is your receiver (renderer) brand and model ?
I asking because adding track on an OpenHome renderer takes a tad more time than other renderer
types (due to the content of Playlist tab being stored on the renderer).

Generally speaking, it is not a good idea to add a huge number of tracks to the Playlist tab.
If adding tracks to a non OpenHome renderer, it will take the time to load from the media server the added folder,
eventually recursively depending on how you add items. If there are thousands of item this can be long.
I understand this is not ideal if you want to play a whole genre shuffled for example.
As mentioned by SimBun, a solution would be to leverage the 'Random track' feature but more customizable for being to select the genre (or other criteria).
There is no plan for this at this time and such functionality would require the media server to have robust server-side UPnP Search
(which MinimServer has). I still might play with that idea in the future.

Ernst-Wilhelm Grüter

unread,
Nov 9, 2023, 12:07:19 PM11/9/23
to BubbleUPnP
Hi Many thanks for your feedback.

I am using Denon RDC N12 as a receiver. No BubbleUpnp Server in the background.

My Library has 50.000 music items and to handle this I am using genres (>100) in order (random mode is preferred). a genre can contain from 200 items up to 3.800 items. Latest is mainly Rock of the 1970ies. Rock music is already split into decades from the the 1960ies up to the 2020ies.

You say "I understand this is not ideal if you want to play a whole genre shuffled for example." Thats indeed , what I want. It gives me a good balance between the mood I am in (Rock instead of Jazz) and to being surprised for instance by the old Grateful Dead and not only by a  selection of dedicated artists.

SimBun described the idea of a solution but also a work around he gave the hint "If you're Shuffling/Enqueueing/Adding from the Genre index itself (by selecting the vertical ellipis next to Pop/Rock/Classical e.t.c.), try instead to select the genre then Shuffle/Enqueue/Add from the resulting items list instead." and this is simply WOW, how fast... even 3.800 items not even worth to start a counter.

I understand extending the functionality of BubbleUpnp is a difficult task and it is already a great piece of software. But if you would add the described solution, of course I would appreciate that.

Thank you.

Ernst-Wilhelm Grüter

unread,
Nov 9, 2023, 12:12:40 PM11/9/23
to BubbleUPnP
Hi SimBun many thanks.

No, I am not using BubbleUpnp Server. Sometimes I try to add ~4.000 items and after approx 10 minutes I cancel the process.

That's a wonderful workaround "try instead to select the genre then Shuffle/Enqueue/Add from the resulting items list instead." WOW, how fast, how speeds... even 3.800 items not even worth to start a counter.

Thank you so much for sharing your knowledge.

Ernst-Wilhelm

SimBun

unread,
Nov 9, 2023, 1:08:38 PM11/9/23
to BubbleUPnP
10 minutes! You're more patient than I am :-)

My assumption was that BubbleUPnP would have to collate all the tracks from each index under Genre (albums/items/Album Artist etc), only to then have to de-dupe them for presentation (because it would be a complete duplicate every time), whereas by selecting the items index it only has to ask MinimiServer once for the children of that index.

Glad it helped.
Reply all
Reply to author
Forward
0 new messages