INTERACT FORUM

Please login or register.

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

Author Topic: Any way to limit basd on 2 fields?  (Read 1067 times)

datdude

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2215
Any way to limit basd on 2 fields?
« on: February 20, 2009, 12:15:00 am »

I would like to limit a smartlist to only have 2 songs per artist per year.

The reason being if I just limit just based on artist then filter by year, some years have no songs in them because the artists are all being used in other years.

If this is not possible, then my only alternative would be to create a view purely based on searches having to create an individual search for each year limiting the artist which would be EXTREMELY tedious since I have over 70 years of music.  I also want to do this for Styles and Moods.
Logged
"You are not a beautiful or unique snowflake." -  Just a very big snowball

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8955
Re: Any way to limit basd on 2 fields?
« Reply #1 on: February 20, 2009, 01:18:38 am »

This appears to work:

[Media Type]="audio" ~limit=-1,2,[year],[album artist (auto)]

did you try that already?

-marko

datdude

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2215
Re: Any way to limit basd on 2 fields?
« Reply #2 on: February 20, 2009, 10:50:45 am »

That appears to work, sweet!  You da man.

But there appears to be a few discrepancies, like it shows Jimi Hendrix 3 times in a mood list (semicolon delimited field).
Logged
"You are not a beautiful or unique snowflake." -  Just a very big snowball

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: Any way to limit basd on 2 fields?
« Reply #3 on: February 20, 2009, 11:24:06 pm »

Can you chain them ?

Make one smartlist that does only 2 tracks per artist and another calling the first to give only two per year.
Logged
Pages: [1]   Go Up