INTERACT FORUM

Please login or register.

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

Author Topic: small smartlist question again.  (Read 952 times)

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
small smartlist question again.
« 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)?
Logged

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: small smartlist question again.
« Reply #1 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 ?
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9143
Re: small smartlist question again.
« Reply #2 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.

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: small smartlist question again.
« Reply #3 on: August 30, 2007, 04:46:27 pm »

thanks guys,

never thought about using nodup. thats good enough, like brilliant.
Logged
Pages: [1]   Go Up