INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: chrisjj on March 19, 2014, 05:36:50 pm

Title: Multi-term smartlist?
Post by: chrisjj on March 19, 2014, 05:36:50 pm
How may I make a smartlist of the form (a and b) or (c and d)?

Since Help says operator or is available, I tried

([Artist]="canta Ruben Juarez" [Name]=[A Homero]) or ([Artist]="canta Carlos Gardel" [Name]=[A la luz del candil])

but this gets changed to

([Artist]="canta Ruben Juarez" [Name]=[A Homero]) ([Artist]="canta Carlos Gardel" [Name]=[A la luz del candil])

:(
Title: Re: Multi-term smartlist?
Post by: MrC on March 19, 2014, 05:52:37 pm
The code that converts between Import / Export in the Edit Search dialog needs some bug fixes.  It will botch many phrases when trying to place them back into the wizard form.

In this case, an OR needs an extra set or parens.  You have essentially:

   (A and B) or (C and D)

Instead use:

   ((A and B) or (C and D))

Alternatively, you can build the AND and OR groupings using the little brackets to the left and right of a search rule set in the Edit Search box.  Hover your mouse just left or right of a beginning/end of a rule.
Title: Re: Multi-term smartlist?
Post by: chrisjj on March 19, 2014, 06:30:28 pm
 ((A and B) or (C and D))

Thanks. That works. And FTR also when lengthened thus: ((A and B) or (C and D) or (E or F)).