INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: GHammer on April 24, 2006, 07:44:25 am

Title: Déjà Vu- Mix Help Needed
Post by: GHammer on April 24, 2006, 07:44:25 am
This smartlist produces the same list of songs every time. If I click Refresh, it just shuffles the order of the tracks. Any ideas?

In English it should:
Pick 30 tracks
No rated 1 selections
80% should not be rated higher than 3 and not be played in the past 14 days
20% should be rated 4 or higher
Both percentages should have only one song per artist.
After getting the list, randomize it.

Code: [Select]
[Media Type]=[Audio] -rating=1 ~mix=30,80%,{-[Rating]=> [3] [Last Played]=>14d ~limit=-1,1,[Artist]},20%,{[Rating]=> [4] ~limit=-1,1,[Artist]} ~sort=[Random]
Title: Re: Déjà Vu- Mix Help Needed
Post by: Deivit on April 24, 2006, 08:05:54 am
Marko will give you the right answer but, in the meantime, I would try randomizing first, just after excluding the 1-rated songs.
Title: Re: Déjà Vu- Mix Help Needed
Post by: glynor on April 24, 2006, 10:58:43 am
I would guess that Deivit is right.  I too think it's because you're running the Limit(s) before the randomize.  Because it always processes the Limit results on the same list (probably alphabetically - which generates the same answers every time) before it mixes them up, you end up with the same exact tracks every time.
Title: Re: Déjà Vu- Mix Help Needed
Post by: GHammer on April 24, 2006, 12:25:48 pm
The desired behavior is back now.
I made a null change to the expression, closed MC and all is well.

By the way, putting random in either position gives suitable results.