INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started 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
-
there ya go....
[media type]=audio [track #]==1 ~sort=[date imported]-d ~n=40 ~a
-marko.
-
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
-
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.
-
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
-
:)
-
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
-
Remove the -d after the sort statement. Sort will default to ascending unless you suffix it with -d.
-
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
-
>:(
-
Thanks very much, it works perfectly.
TC :)