INTERACT FORUM

Please login or register.

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

Author Topic: smartlist rules ~%  (Read 1198 times)

scub

  • Regular Member
  • Recent member
  • *
  • Posts: 45
smartlist rules ~%
« on: May 30, 2002, 06:10:13 pm »

I was trying to create a playlist that limited rating of 3 to only show up as 20% and fill the rest with 4 and 5 but can't figure out out to get it accomplished.  Can anyone help?  I'm trying to fill a CD so I also have a time limit of 80 minutes.

Here is the string that I decided was as close as I could get:
~%20 rating=3 OR rating=>3 ~t80

The ~%20 affects the whole search string and takes the 80 minutes down to 20% percent of that.
Logged

Callithumpian

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 487
  • Subvert the Dominant Paradigm
RE:smartlist rules ~%
« Reply #1 on: May 30, 2002, 10:50:49 pm »

Slippery these smartlist rules aren't they?
I couldn't get MJ to do anything similar to what you are after.
Two things but:-

The ~% is about limiting the return to a percentage of what is available, not what is in the overall result.
So ~%20 rating=3 is always going to return 20% of those tracks rated 3.  The percentage applies to a single requested parameter only and therefore can't have a relationship with the overall returned result of a number of different "rules".

It seems like the modifiers were never intended to work in concert since they seem to compound upon each other.  So if you use ~%50 ~t120 (just by themselves) you get 50% of 120 minutes (to the nearest whole track) chosen at random from your entire library.
Logged

Scronch

  • Guest
RE:smartlist rules ~%
« Reply #2 on: May 30, 2002, 11:36:22 pm »

I would eventually like to see some very thorough help text on the usage of these strings.  This feature is incredibly powerful, and really sets MJ apart from the competition.

Scronch
Logged

scub

  • Guest
RE:smartlist rules ~%
« Reply #3 on: May 31, 2002, 06:45:31 am »

So is this a wishlist for v9?  Or can it be added later when a patch comes out for 8.
Logged

scub

  • Guest
RE:smartlist rules ~%
« Reply #4 on: June 07, 2002, 08:21:51 am »

so can two modifiers be used at the same time?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42389
  • Shoes gone again!
RE:smartlist rules ~%
« Reply #5 on: June 07, 2002, 08:34:01 am »


so can two modifiers be used at the same time?
 

Sure, but some combinations yield funny results, because they can't logically work together.


So is this a wishlist for v9? Or can it be added later when a patch comes out for 8.


The only consideration is performance.  Something like (rock ~%=50) (folk ~%=50) requires two complete searches, and a post process phase.  Right now, all searches are one search and a post process phase.  Anyway, let us think about it...

And you can sort of do what you want now with a playlist group with some smartlists in it.  You just need to do a little of the math to convert from % to # of tracks.

Group
---Smartlist 1: rock ~n=20
---Smartlist 2: folk ~n=20

Now the group will list 40 random tracks, 20 from each genre.  Hit [F5] to rerun the search and get a new 40 tracks.

Take care.

-Matt
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up