INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: gappie on August 30, 2007, 11:05:44 am

Title: small smartlist question again.
Post by: gappie on August 30, 2007, 11:05:44 am
is it possible to make a smartlist that would give the least played song per album, from a selection of albums? tried several things, and i expect its not. but maybe im overlooking something (obvious)?
Title: Re: small smartlist question again.
Post by: hit_ny on August 30, 2007, 01:08:04 pm
How about a smartlist that says give all tracks with [number of plays] = 0 from a playlist that has all the required albums ?
Title: Re: small smartlist question again.
Post by: marko on August 30, 2007, 01:37:56 pm
How about:

[Media Type]="audio" ~limit=5,-1,[album] ~sort=[number plays] ~nodup=[Album],[Number Plays] ~n=5 ?

takes 5 albums at random, sorts by number of plays, removes duplicates, reduce to 5 tracks = the least played track from each of the 5 selected albums.
It's not 100% perfect, but it's as close as I can get from a single smartlist.
-marko.
Title: Re: small smartlist question again.
Post by: gappie on August 30, 2007, 04:46:27 pm
thanks guys,

never thought about using nodup. thats good enough, like brilliant.