Open stephen147 opened 4 years ago
No, unfortunately. For performance reasons global variables weren't made available in groups.
This is because all group titles are evaluated up front (i.e. when foobar2000 starts or you switch playlist), while playlist items titles are evaluated lazily (when they come into view).
No worries, I'm just in the process off changing the theme to use global colours.
Would it be a big hit if there was an option to use it with the default, it been turned off?
No, there wouldn't be a performance hit if it were an option and that option was turned off.
The hit when the (not currently existing) option is enabled would depend on things like the complexity of the global variables script and the number of tracks in the playlist.
I meant that of you could add this functionality but have the default to it been off.
I wouldn't mind the performance hit. So it would be nice to have the option to enable this.
I have a global variable:
$set_global(txtlightclr,$rgb(128,128,128))
Is it possible to then assign it in the grouping but it says unknown function.