ddb_musical_spectrum
ddb_musical_spectrum copied to clipboard
[Feature request] Multiple widgets of same type
It'd be very useful to be able to put multiple copies in so that you could have one for each audio channel.
I agree this would be great, but for this to work the configuration of the spectrum needs to be stored for each spectrum widget individually, which is quite cumbersome to do with the current GTKUI plugin API. That's why I'm probably not going to implement that anytime soon.
Taking a peek at the plugin API, wouldn't it be possible to read in if there's another instance of the same plugin, and if so, load in configuration from the same file, but in a different subsection?
Maybe, but there are a few things to consider:
- this approach must not depend on the order in which widgets get created, because that's an implementation detail.
- the config must not get lost when copy/pasting the widget
- the config shouldn't get cluttered with new subsections when users change their layout frequently.
I'm not sure if this can be done nicely.