INTERACT FORUM

Please login or register.

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

Author Topic: The use of the Expand modifier  (Read 2114 times)

Humbledore

  • Galactic Citizen
  • ****
  • Posts: 272
The use of the Expand modifier
« on: December 31, 2016, 01:02:55 am »

Hi!

I have a selection I want to accomplish. I just have an initial idea to use the Expand modifier in a smartlist for the task but I am not sure if it's possible. The selection:

1. All albums that contains 'Edition' or 'Bonus track'.
2. Expand to ALL albums for the Album Artist that is selected in step 1.

Thanks!
 
 
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: The use of the Expand modifier
« Reply #1 on: December 31, 2016, 02:13:43 am »

Sure. You can do that:
Code: [Select]
[Media Type]=[Audio] ([Album]="bonus track" or [Album]="edition") ~expand="Album Artist (Auto)"
~expand does it to whatever "search" is added "before" it (to the left of it in a written-out search expression, or above it in the wizard) when it gets to that step.

You can even do an ~expand and then re-limit or re-sort the list "afterwards" if you want.

You'll almost certainly want to use [Album Artist (Auto)] to do the expand, and not just [Album Artist]. The latter tag is designed to be left blank sometimes. So, if you have any where it is blank, then the ~expand will match ALL files where it is blank, which is probably not your goal. Album Artist (Auto) works. You have to put field names that have spaces in them in quotes, as Matt described when he introduced (and then fixed) the feature.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: The use of the Expand modifier
« Reply #2 on: December 31, 2016, 03:02:42 am »

Just a FYI: if you ever want to expand more complicated subsets into supersets, I explain how to do it using variables:

http://yabb.jriver.com/interact/index.php?topic=90504.0
Logged

Humbledore

  • Galactic Citizen
  • ****
  • Posts: 272
Re: The use of the Expand modifier
« Reply #3 on: December 31, 2016, 03:51:37 am »

I was on my way then, but I think my trials failed due to empty values in Album Artist or/and missing the quotation marks.

Thanks glynor and mark_h! :)


 
Logged
Pages: [1]   Go Up