Thanks for the update. Nice work.
I tried unchecking that "auto convert tags etc..." but when I click on a node or a subnode its label/title disappear leaving a "?". After checking tha box again and after a refresh I get the labels back. I don't have any code in the label box, nor browse or icon or else.
-----------------
Do you mind explaining a bit more about the sort boxes?
I mean: exact sintax, allowed functions and, maybe, some tricks.
In the meantime let me show a little trick of mine.
For instance, I have this query:
CODE
Label: # instruments
Query: genre IS jazz
Format: $if($or($strstr(%instrument%,band),$strstr(%instrument%,Orchestra),$strstr(%instrument%,orchestra),$strstr(%instrument%,Strings),$strstr(%instrument%,group)),Many,
$select($meta_num(instrument),Solo,Duo,Trio,Quartet,Quintet,Sextet,Septet,Octet,Nonet,Many,Many,Many))|%instrument%|%artist%|%title%
Pop sort: $meta_num(instrument) - %instrument%
Disp sort:
With this sorting I get:
CODE
+ # instruments
+ Solo
+ Many
+ Duo
+ Trio
etc
Under each subnode but the "many" one I have the %instrument% content sorted alphabetically.
If I put
CODE
Disp sort: %_name%
I get the %instrument% content correctly sorted under "many" too but I get the first level (Solo, Duo etc) alphabetically sorted too : how to force the content of "many" to be correctly sorted too?
I tried some different Pop and disp sorting strings but couldn't come across the right one.
Then you came out with that useful @noshow<>.....
So, after a quick test this is my new (perfectly working) string:
CODE
$if($or($strstr(%instrument%,band),$strstr(%instrument%,Orchestra),$strstr(%instrument%,orchestra),$strstr(%instrument%,Strings),$strstr(%instrument%,group)),Many,
$select($meta_num(instrument),@noshow<1>Solo,@noshow<2>Duo,@noshow<3>Trio,@noshow<4>Quartet,@noshow<5>Quintet,@noshow<6>Sextet,@noshow<7>Septet,
@noshow<8>Octet,@noshow<9>Nonet,Many,Many,Many))
|%instrument%|%artist%|%title%
I think this could be of general use when people want to create a custom "manual" sorting.
If you know a more straightforward way (or a more elegant) please let me know.
Thanks.
(One day we should embark into a discussion about performances:
- better three separate queries or a @multiple three headed one?
etc, etc)
Thanks.