INTERACT FORUM

More => Old Versions => Media Center 15 (Development Ended) => Topic started by: bspisak on March 07, 2011, 04:13:46 pm

Title: Need help with custom search rule syntax
Post by: bspisak on March 07, 2011, 04:13:46 pm

I'm using Customize View -> Set Rules for Display -> Edit Search and trying to create a Custom rule.

How do I create a rule that will find all files where [Album Artist] = [Artist]?

I've tried:
* [Album Artist]=[Artist]
* albumartist=artist
* =IsEqual([Album Artist],[Artist])

None of them work and the UI converts the first two into Album Artist is Artist and Album Artist contains artist, respectively.

Also, is the wiki page on search rules (http://wiki.jriver.com/index.php/Smartlist_and_Search_-_Rules_and_Modifiers) out of date? It seems the UI takes care of building those expressions now.


Title: Re: Need help with custom search rule syntax
Post by: Matt on March 07, 2011, 04:28:32 pm
Try this:
[=IsEqual([Artist], [Album Artist])]=[1]
Title: Re: Need help with custom search rule syntax
Post by: rick.ca on March 07, 2011, 05:16:53 pm
...as described here (http://wiki.jriver.com/index.php/Media_Center_expression_language#Filtering_a_list_of_files_using_a_search_rule).