INTERACT FORUM

Windows => JRiver Media Center 33 for Windows => Topic started by: Denti on September 19, 2024, 06:30:46 pm

Title: help with Expression for sorting
Post by: Denti on September 19, 2024, 06:30:46 pm
I currently use a top level Expression to divide my albums up into

Multiple Artist Compilations and Single-Artist Albums

But if one of the artists for whom I have entire records also has tracks on a compilation, they will appear in both places. I use the custom field "Primary Artist" to indicate which artists' tracks should appear in both places. This is the Expression:

if(isempty([Primary Artist]),  /(Multiple Artists/), 
 [All Artists (Last Name)])/
       ifelse(isequal([album artist (auto)], /(Multiple Artists/)), ;/(Multiple Artists/))&datatype=[