INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: sapnho on March 22, 2004, 01:01:05 am

Title: Order in smartlist definition?
Post by: sapnho 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
Title: Re:Order in smartlist definition?
Post by: jleerigby 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.
Title: Re:Order in smartlist definition?
Post by: sapnho on March 22, 2004, 01:01:06 pm
Thanks! Very helpful! :)
Title: Re:Order in smartlist definition?
Post by: gpvillamil 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.
Title: Re:Order in smartlist definition?
Post by: sapnho 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
Title: Re:Order in smartlist definition?
Post by: jleerigby 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.