INTERACT FORUM

More => Old Versions => JRiver Media Center 27 for Windows => Topic started by: net23 on February 07, 2021, 06:25:11 am

Title: Smartlist Editor Question
Post by: net23 on February 07, 2021, 06:25:11 am
Hi! Recently started getting into playing around with Smartlists and I've a question.

If I wanted a Smartlist to have a rule that selected songs that the "Name" contained the words "beat" or "jump" and my expected result would be a list of all songs in the library where the name field contained either the whole word "beat" or the whole word "jump" how would I go about doing that?

Thanks!
Title: Re: Smartlist Editor Question
Post by: EnglishTiger on February 07, 2021, 06:55:04 am
Hi! Recently started getting into playing around with Smartlists and I've a question.

If I wanted a Smartlist to have a rule that selected songs that the "Name" contained the words "beat" or "jump" and my expected result would be a list of all songs in the library where the name field contained either the whole word "beat" or the whole word "jump" how would I go about doing that?

Thanks!

The closest you can get is to is set up a Smartlist which has 2 rules the 1st one being "Name contains beat" and the 2nd one being "Name contains jump". Unfortunately it will include any tracks where either of those 2 phrases/words occur; i.e. it will include things like "jumping to the beat".

Once you have done that click on the left hand edge of the from beside the 1st rule and a ( should appear then click in the gap before the X button alongside the second rule and a ) should appear.

Then just run the smartlist whenever you want to.

Title: Re: Smartlist Editor Question
Post by: net23 on February 07, 2021, 08:47:15 am
Nope. When I do that, say for example 2 rules, one which says name contains "war", and the other name contains "peace" then the list returns the only song that has both words in it's name...

What I'm looking for is how to get the OR in that so that if the name contains either "war" or "peace" then it will return all songs that have either word in their name.

Thanks.
Title: Re: Smartlist Editor Question
Post by: zybex on February 07, 2021, 08:56:31 am
Please read the posted solution again and look closely at the screenshot. You need to make those 2 parenthesis show up on your Smartlist. Curved parenthesis "( ... )" create an OR clause, while squared brackets "[ ... ]" create an AND.

Alternatively, click on the Import/Export button an enter:
([Name]="beat" or [Name]="jump")
Title: Re: Smartlist Editor Question
Post by: net23 on February 07, 2021, 09:58:12 am
Aha! Thank you so much, sorry I did not notice! Cheers!
Title: Re: Smartlist Editor Question
Post by: wer on February 07, 2021, 01:19:23 pm
Unfortunately it will include any tracks where either of those 2 phrases/words occur; i.e. it will include things like "jumping to the beat".

This isn't really correct.

The search language has long included the ability to match whole words only ("jump" but not "jumping") but itnwas tricky to use because the wizard/editor dialog broke such expressions.

That has been fixed.  As of 27.0.56, the editor now includes an option "includes whole word".

Using that with the proper use of parentheses will get you exactly what you want.
Title: Re: Smartlist Editor Question
Post by: Dorsai on April 27, 2021, 08:02:16 am
Greetings,

I'm trying to compose a Smartlist of Albums which have three or more songs rated 4 or higher.

It's probably just me, but I can't figure out how to do this; therefore, I have to rely on the kindness of strangers.

Thoughts?

Thanks in Advance,
Dorsai
Title: Re: Smartlist Editor Question
Post by: zybex on April 27, 2021, 08:44:00 am
https://yabb.jriver.com/interact/index.php/topic,128240.msg889720.html