INTERACT FORUM

Please login or register.

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

Author Topic: Need help with custom search rule syntax  (Read 1840 times)

bspisak

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 50
Need help with custom search rule syntax
« 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 out of date? It seems the UI takes care of building those expressions now.


Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42388
  • Shoes gone again!
Re: Need help with custom search rule syntax
« Reply #1 on: March 07, 2011, 04:28:32 pm »

Try this:
[=IsEqual([Artist], [Album Artist])]=[1]
Logged
Matt Ashland, JRiver Media Center

rick.ca

  • Citizen of the Universe
  • *****
  • Posts: 3729
Re: Need help with custom search rule syntax
« Reply #2 on: March 07, 2011, 05:16:53 pm »

...as described here.
Logged
Pages: [1]   Go Up