INTERACT FORUM

Please login or register.

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

Author Topic: Question about Smartlist parsing order  (Read 662 times)

gpvillamil

  • Citizen of the Universe
  • *****
  • Posts: 829
  • Listen to the music...
Question about Smartlist parsing order
« 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?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re:Question about Smartlist parsing order
« Reply #1 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.
Logged
Matt Ashland, JRiver Media Center

gpvillamil

  • Citizen of the Universe
  • *****
  • Posts: 829
  • Listen to the music...
Re:Question about Smartlist parsing order
« Reply #2 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?
Logged
Pages: [1]   Go Up