INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: tcman41 on March 31, 2005, 08:24:48 am

Title: smartlist question
Post by: tcman41 on March 31, 2005, 08:24:48 am
I can't figure out how to do this, can someone help me?

I am trying to make a smartlist or an expression or something that when i choose it will display the last 40 or so albums that i have added to my media library.

Thanks
Terry
Title: Re: smartlist question
Post by: marko on March 31, 2005, 12:11:41 pm
there ya go....


[media type]=audio [track #]==1 ~sort=[date imported]-d ~n=40 ~a


-marko.
Title: Re: smartlist question
Post by: tcman41 on March 31, 2005, 01:37:14 pm
Wow, thanks very much Marko!

I am now a little confused on how to get it into the program, is this a smartlist? I clicked on add smartlist but don't see how to enter a custom one. Or is this supposed to go somewhere else.

Thanks for the patience, I am still learning, lol.

Terry
Title: Re: smartlist question
Post by: marko on March 31, 2005, 01:45:30 pm
no worries.

click on "add smartlist" again, then, next to the smartlist rule field, you will see a button labelled "advanced".

click that, then paste the string above into the rule field and save it.

-marko.
Title: Re: smartlist question
Post by: risingdamp on March 31, 2005, 03:05:13 pm
Or better still add a view scheme then paste the rule into the box at the bottom and add some items so you can browse the list - like Album artist (Auto) and Album.

And though I think marko did a great job on this smartlist you could argue that this one is slightly more accurate as it does not rely on you having a track # 1 on the album.

[media type]=audio ~limit=-1,1,[Album] ~sort=[date imported]-d ~n=40 ~a

There - gotcha marko!  ;D
Title: Re: smartlist question
Post by: marko on April 01, 2005, 12:41:54 am
:)
Title: Re: smartlist question
Post by: tcman41 on April 02, 2005, 11:25:25 am
I am using the expression the risingdamp wrote for me after revising marko's intial expression, thanks to both for the work.

I have one more question, lol, how to i get it to the sort the last 40 albums the i imported by ascending instead of descending?

Terry
Title: Re: smartlist question
Post by: risingdamp on April 02, 2005, 11:40:02 am
Remove the -d after the sort statement.  Sort will default to ascending unless you suffix it with -d.
Title: Re: smartlist question
Post by: marko on April 02, 2005, 11:55:20 am
hmm,

the -d is a requirement here in order to get the last 40 albums. without it, the search will return the first 40 albums instead. try adding your desired sorting at the end of the string, like so....

[media type]=audio ~limit=-1,1,[Album] ~sort=[date imported]-d ~n=40 ~a ~sort=[date imported]




there - gotcha risingdamp :D
Title: Re: smartlist question
Post by: risingdamp on April 02, 2005, 12:59:58 pm
 >:(
Title: Re: smartlist question
Post by: tcman41 on April 02, 2005, 07:53:28 pm
Thanks very much, it works perfectly.

TC  :)