INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: wig on January 23, 2006, 11:02:25 am
-
I'm having trouble creating a smartlist which will give me the results I want. I've created a custom extended category called Exercise, which contains the values Yes, No ,Best, and Maybe. Most of the entries are yes, but I want a smartlist that gives me a good mix of Yes, Best and Maybe results. How can I make this work?
Right now I have ~n=20 ~sort=[Random] [Exercise]=[ Best],[ Maybe],[Yes] ~limit=-1,10,[Exercise] but this just halts the Yes entries at 10 without ensuring that the rest of the list gets filled up with Best and Maybe entries. Thanks for any help.
-
I don't have time to work out a string for you right now, but you want to build your search around the ~mix rule.
MC 11: New Mix Smartlist Rule (http://yabb.jriver.com/interact/index.php?topic=24288.msg169446;topicseen#msg169446)
you'll be wanting something like:
~mix=20,10,{[exercise]=yes},5,{[exercise]=maybe},5,{[exercise]=best} ~sort=random
-
That was a great suggestion. Here's what I came up with
~mix=20,25%,{[Exercise]=Best},50%,{[Exercise]=Yes},25%,{[Exercise]=Maybe}
It's already randomly sorted, I assume that's a feature of the mix selection.
-
yup. good stuff. you all happy now?