INTERACT FORUM

Please login or register.

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

Author Topic: Order in smartlist definition?  (Read 884 times)

sapnho

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 301
  • Leave a legacy
Order in smartlist definition?
« on: March 22, 2004, 01:01:05 am »

I was wondering if there was any particular order to the commands the smartlist definitions. What I typically define is:
- a genre
- a time limit of x minutes
- Random sort

Now, can I assume that the random sort is applied to all of the files matching the genre and then a selection of [time limit] is picked? Does it pick the selection of [time limit] in a random way even without [random] being specified? :P
Logged

jleerigby

  • Guest
Re:Order in smartlist definition?
« Reply #1 on: March 22, 2004, 01:07:03 am »

Modifiers (sort / limit etc) are executed in the order in which they appear.  In your example it would be best to put the random sort before the time limit, in fact put it at the beginning.
Logged

sapnho

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 301
  • Leave a legacy
Re:Order in smartlist definition?
« Reply #2 on: March 22, 2004, 01:01:06 pm »

Thanks! Very helpful! :)
Logged

gpvillamil

  • Citizen of the Universe
  • *****
  • Posts: 829
  • Listen to the music...
Re:Order in smartlist definition?
« Reply #3 on: March 22, 2004, 04:23:21 pm »

Actually, put [random] after your genre selection, otherwise it will try to apply the random modifier to your entire library, then filter by genre, then apply the limiter. That will be slower.

However, put [random] before the [limit], otherwise the list will only be choosing the first entries.

So order should be genre, random, limit. It will do the same thing as random, genre, limit but faster.
Logged

sapnho

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 301
  • Leave a legacy
Re:Order in smartlist definition?
« Reply #4 on: March 23, 2004, 12:36:08 am »

Good point! Is there a way of moving left/right the smartlist criteria or do I have to enter everything from scratch? :P
Logged

jleerigby

  • Guest
Re:Order in smartlist definition?
« Reply #5 on: March 23, 2004, 02:15:17 am »

You can cut and paste.  It can be a bit tricky to get in place editing - try hitting the arrow on the left of the box, then copy, then press right arrow.  Now use the shift key with the Ctrl + arrow keys to highlight the section you want to move.  Then Ctrl + X to cut and Ctrl + V to paste.
Logged
Pages: [1]   Go Up