INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: sthomp on June 25, 2004, 11:31:33 am

Title: Smartlist for most recently imported?
Post by: sthomp on June 25, 2004, 11:31:33 am
Is there a way to set up a smartlist to only include the <X> most recent files imported? I noticed that there's a preset to only include files imported today, so I know that import date can be used as a criteria. I can't figure out a way to limit based on most recent imports, though.

Alternately, how would I include only files imported within the last three days, instead of only today? The "imported today" preset is this...

[Date Imported]=<=1440

I'm not sure what the 1440 means. I tried changing it to higher and lower numbers, but it didn't expand the date range.
Title: Re:Smartlist for most recently imported?
Post by: pipsqueak on June 25, 2004, 01:26:29 pm
1440 is the number of minutes in a day = 24*60.

3 days = 24*60*3 = 4320

Therefore try [Date Imported]=<=4320

i dont know how you can limit this to x tracks, as applying the limit function will randomly choose x tracks out of all those that qualify

pip
Title: Re:Smartlist for most recently imported?
Post by: Matt on June 25, 2004, 01:47:45 pm
i dont know how you can limit this to x tracks, as applying the limit function will randomly choose x tracks out of all those that qualify

If you put a sort before the limit, it won't be random.  Like this:

[Genre]=[Rock] ~sort=[Date Imported] ~n=100
Title: Re:Smartlist for most recently imported?
Post by: sthomp on June 25, 2004, 02:59:34 pm
What can I do to this command...

[Genre]=[Rock] ~sort=[Date Imported] ~n=100

To get the 100 most recent imported, instead of the 100 oldest? I assume there's a modifier for sorting in reverse order, but I couldn't find it.
Title: Re:Smartlist for most recently imported?
Post by: Matt on June 25, 2004, 03:46:48 pm
What can I do to this command...

[Genre]=[Rock] ~sort=[Date Imported] ~n=100

To get the 100 most recent imported, instead of the 100 oldest? I assume there's a modifier for sorting in reverse order, but I couldn't find it.

[Genre]=[Rock] ~sort=[Date Imported]-d ~n=100
Title: Re:Smartlist for most recently imported?
Post by: sthomp on June 25, 2004, 03:49:26 pm
Thanks!