INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Smartlist Editor Question  (Read 956 times)

net23

  • Recent member
  • *
  • Posts: 31
Smartlist Editor Question
« 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!
Logged

EnglishTiger

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1115
Re: Smartlist Editor Question
« Reply #1 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.

Logged
Apple Mac Mini Desktop Computer with M4 Pro chip with 12 core CPU and 16 core GPU: 24GB Unified Memory, 512GB SSD Storage, Gigabit Ethernet, 3 Thunderbolt5 + 2USBC ports.

net23

  • Recent member
  • *
  • Posts: 31
Re: Smartlist Editor Question
« Reply #2 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.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: Smartlist Editor Question
« Reply #3 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")
Logged

net23

  • Recent member
  • *
  • Posts: 31
Re: Smartlist Editor Question
« Reply #4 on: February 07, 2021, 09:58:12 am »

Aha! Thank you so much, sorry I did not notice! Cheers!
Logged

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Smartlist Editor Question
« Reply #5 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.
Logged

Dorsai

  • Recent member
  • *
  • Posts: 46
Re: Smartlist Editor Question
« Reply #6 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
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Logged
Pages: [1]   Go Up