INTERACT FORUM
More => Old Versions => Media Jukebox => Topic started by: scub 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.
-
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.
-
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
-
So is this a wishlist for v9? Or can it be added later when a patch comes out for 8.
-
so can two modifiers be used at the same time?
-
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