INTERACT FORUM

More => Old Versions => JRiver Media Center 31 for Windows => Topic started by: comox on August 01, 2023, 11:02:26 am

Title: expression help please: find all files with more than 1 artist
Post by: comox on August 01, 2023, 11:02:26 am
Could someone please show me how to find all files that have more than 1 semicolon delimited artists?

Thanks.
Title: Re: expression help please: find all files with more than 1 artist
Post by: Matt on August 01, 2023, 11:06:41 am
This might be a start:
ListCount([Artist], /;)
Title: Re: expression help please: find all files with more than 1 artist
Post by: lepa on August 01, 2023, 11:12:03 am
e.g. insert this to search when in your view
[=Compare(ListCount([Artist]),>,1)]=1

Compare inside square brackets checks if there is more than one artist and it returns 1 if true so 1=1 when song has more than one artist and is therefore displayed with this filter.
If there is only one or less artist then compare returns 0 so 0=1 is not true so these songs are filtered out
Title: Re: expression help please: find all files with more than 1 artist
Post by: comox on August 01, 2023, 11:59:36 am
Works perfectly. Thanks to both of you!

I thought I'd get clever and add the name of artists that appear in more than one band. For example:
Eric Clapton
Blind Faith; Eric Clapton
Derek and the Dominos; Eric Clapton

But this messed up the app I use to play music on my phone. So I have to go back and fill in [Album Artist] with the single name of the band.