INTERACT FORUM

More => Old Versions => Media Center 13 (Development Ended) => Topic started by: datdude on February 20, 2009, 12:15:00 am

Title: Any way to limit basd on 2 fields?
Post by: datdude 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.
Title: Re: Any way to limit basd on 2 fields?
Post by: marko 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
Title: Re: Any way to limit basd on 2 fields?
Post by: datdude 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).
Title: Re: Any way to limit basd on 2 fields?
Post by: hit_ny 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.