INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: gpvillamil on January 09, 2004, 09:29:36 pm

Title: Question about Smartlist parsing order
Post by: gpvillamil on January 09, 2004, 09:29:36 pm
A quick question - do Smartlists parse from left to right, or is the rule order immaterial?

For example, will the following two lists do the same thing?

Genre: Pop, Limit: 500 megabytes, Sort: Random

Genre: Pop, Sort: Random, Limit: 500 megabytes

Basically, in the first case, will it pick the first 500 megabytes of Pop songs, then randomize? And in the second case, will it randomize the list of all Pop songs, then pick 500 megabytes? Or will it actually do the same thing in both cases?
Title: Re:Question about Smartlist parsing order
Post by: Matt on January 10, 2004, 12:05:11 am
Search expressions are evaluated in order, while honoring any parenthesis you use.

Post processors (the things that start with a ~) aren't executed in a user configurable order.  That's something we'd like to change, but it could "break" existing smartlists so we're not sure the best approach.

Thanks.
Title: Re:Question about Smartlist parsing order
Post by: gpvillamil on January 10, 2004, 03:20:18 am
OK, in the example I gave the difference is in the post-processors - Sorting & Limit. So would I be correct in assuming that both lists in my example would yield the same result?