INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: ProblemChild on August 23, 2008, 06:08:48 pm

Title: View Scheme search expressions
Post by: ProblemChild on August 23, 2008, 06:08:48 pm
There is something about using expressions that I must be missing. If someone could explain why this doesn't work I'd really appreciate it. My understanding was that you can use expressions in View Scheme panes. I was originally trying to create a filter to display songs where [Artist] and [Album Artist] are the same.

In my View Layout, whatever I enter into an expression column works fine. The exact same entry above as a search item for the View Scheme pane gives me nothing. For instance, trying something even simpler:

[Artist]=[Artist]
IsEqual([Artist],[Album Artist],1)

Both of these work fine in the expression column but neither works as a view scheme search (entering via Import/Export). There must be something basic that I've misunderstood somewhere along the line but I can't figure out what it is. If someone can tell me what I'm missing I'd really appreciate it.
Title: Re: View Scheme search expressions
Post by: marko on August 23, 2008, 06:39:53 pm
When using expressions in the search bar, smart lists or 'step 4' of the edit view scheme dialogue, you need to enter them in the following format:

[=isequal([artist],[album artist],1)]=1

use '=1' to see files that match the rule, and '=0' to see those that don't.

-marko.
Title: Re: View Scheme search expressions
Post by: ProblemChild on August 23, 2008, 07:06:13 pm
Awesome! Thank you  :)