INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: Humbledore on December 31, 2016, 01:02:55 am

Title: The use of the Expand modifier
Post by: Humbledore 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!
 
 
Title: Re: The use of the Expand modifier
Post by: glynor 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 (http://yabb.jriver.com/interact/index.php/topic,97428.msg672892.html#msg672892).
Title: Re: The use of the Expand modifier
Post by: mark_h 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
Title: Re: The use of the Expand modifier
Post by: Humbledore 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! :)