INTERACT FORUM

Please login or register.

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

Author Topic: Date Imported Sort  (Read 1581 times)

johnfriend

  • Regular Member
  • Recent member
  • *
  • Posts: 22
  • nothing more to say...
Date Imported Sort
« on: December 27, 2005, 09:15:41 pm »

Is there a way to set the default date inported to newest on top? 

I have a date import view but the newest items are way at the bottom... I'd like them at the top, sorting from newest to oldest. 

Also this view groups to the SECOND imported  to the DAY or HOUR would be just as good...that way albums would be together... is this changable?

Help & Thanks!
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Date Imported Sort
« Reply #1 on: December 28, 2005, 12:39:54 am »

do you want a smartlist or a viewscheme?

try the following:

tools > options > library.
click on the add button.
Name it Import Date.
Select "calculated data" and paste the following into the template entry: FormatDate([Date Imported], yyyy//MM//dd)
click the ok button, then click the next ok button.

create a new smartlist. The search string for the smartlist is: [media type]=audio sort=[import date]-d,[album]

===============
if you want a viewscheme instead, you should have enough to go on now, if you need any more assistance, just shout.

johnfriend

  • Regular Member
  • Recent member
  • *
  • Posts: 22
  • nothing more to say...
Re: Date Imported Sort
« Reply #2 on: December 28, 2005, 07:08:49 am »

Perfect
Thank you so much!!!
Logged

pmarca

  • Recent member
  • *
  • Posts: 14
Re: Date Imported Sort
« Reply #3 on: December 30, 2005, 11:37:49 pm »

This is really cool but when I create a viewscheme using this new library property, the expression isn't getting evaluated, so it's literally showing up as "FormatDate(..., yyyy//MM//dd)".  This is with the latest released version of MC 11.

Thanks...

do you want a smartlist or a viewscheme?

try the following:

tools > options > library.
click on the add button.
Name it Import Date.
Select "calculated data" and paste the following into the template entry: FormatDate([Date Imported], yyyy//MM//dd)
click the ok button, then click the next ok button.

create a new smartlist. The search string for the smartlist is: [media type]=audio sort=[import date]-d,[album]

===============
if you want a viewscheme instead, you should have enough to go on now, if you need any more assistance, just shout.

Logged

pmarca

  • Recent member
  • *
  • Posts: 14
Re: Date Imported Sort
« Reply #4 on: December 31, 2005, 12:42:48 am »

Doh!  I figured it out for myself.  In MC11, library properties that are expressions are not evaluated within viewschemes -- they just display as literal strings.  However, you CAN use an expression when you are creating a viewscheme and adding a new view item (in Step 1 of the View Scheme dialog box).  Hmmmm

Now if I can just figure out how to sort in reverse chronological order (newest first) on that expression in the viewscheme......

Thanks!

This is really cool but when I create a viewscheme using this new library property, the expression isn't getting evaluated, so it's literally showing up as "FormatDate(..., yyyy//MM//dd)".  This is with the latest released version of MC 11.

Thanks...

Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Date Imported Sort
« Reply #5 on: December 31, 2005, 01:58:42 am »

I'm not sure.

I can add [import date] as either a file list column or a viewscheme pane.

tell you what though, adding it to the filelist slows things down a fair bit...

adding it as a viewscheme pane made things painfully slow, and adding it as both almost brought MC, or my system, to it's knees with the entire screen turning white after a fair few seconds of inactivity, before springing back into action with fully loaded panes.
adding it directly via the 'add new item' system as you did, produced only a very slight lag and is obviously the way to go.

I'm glad you got things working. When you talk about sorting, do you mean in the viewscheme pane or the filelist column?

we can't specify sorting in the panes, but we can in the columns. (use 'customise current view' and look for sorting options in the lower right corner)

pmarca

  • Recent member
  • *
  • Posts: 14
Re: Date Imported Sort
« Reply #6 on: December 31, 2005, 03:29:42 pm »

In the viewscheme pane would be ideal.  Adding the ability to add a sort parameter to the FormatDate expression would do the trick.

When you talk about sorting, do you mean in the viewscheme pane or the filelist column?

we can't specify sorting in the panes, but we can in the columns. (use 'customise current view' and look for sorting options in the lower right corner)
Logged
Pages: [1]   Go Up