Is it possible to use the "SORT:name|value:name|value + $filtered(name) + $sorted(name): ... " function outside of a playlist window? I'm using panelsUI 14.9 and foobar 0.9.5.2 and the button using 'SORT:Artist|RESET %artist%:Title|RESET %title%:Length|RESET %_length%' shows up as "□□tist" or some repetition of that.
I don't quite understand what it says in the wiki:
QUOTE
SORT:name|value:name|value + $filtered(name) + $sorted(name): ...
Displays a sorting context menu for a playlist
The following enables a sorting context menu which shows name_1, name_2, etc, corresponding to sorting by value_1, value_2, etc. SORT sorts the currently selected playlist, which manifests itself in all playlist views of that active playlist: SORT:name_1|value_1:name_2|value_2:...:name_n|value_n
You can add RESET before value_n to allow the sorting choice to return to the sorting context menu upon sorting by a different value. To better understand, try the following SORT string: 'SORT:Artist|RESET %artist%:Title|RESET %title%:Length|RESET %_length%'
The following returns a sort index of the field, e.g. if the playlist is sorted first by genre, then artist, then by album, $sorted(artist) will return 3. If the playlist is not sorted by field through the SORT attribute described above, then $sorted(field) will be evaluated as false and produce [UNKNOWN FUNCTION] as text output: $sorted(field)
Is this function broken?