INTERACT FORUM
More => Old Versions => Media Center 12 (Development Ended) => Topic started by: SnakeZZ on February 11, 2007, 04:25:14 pm
-
Hi!
I would like to create a smartlist giving me all full albums in track-nr. order sorted in descending order by the date they were imported. The problem is that when I use ~sort=[date imported]-d,[ Artist],[Album],[Disc #],[Track #] the album tracks are not in order?!?
What am I doing wrong?
Bye
SnakeZZ
-
Morning SnakeZZ,
You're not doing anything wrong, it's just the nature of [date imported] (Assuming the space in [ Artist] is just a typo on your part ;) ). It behaves the way it does because by default, the time is also included, and that often queers the pitch. If you use the library browser views with album thumbnails, then you won't come against this problem because when sending albums to playing now, they are sent in track order, but in panes, it can be troublesome.
The way around it is to make a new library field from the raw [date imported] data that excludes the time.
1. Go to Tools > Options > Library and Folders > User fields > Add Field
2. Name the field Import Date
3. Set the Audio flag
4. Select "Calculated data"
5. Paste the following into the template field: formatdate([date imported,0],yyyy//MM//dd)
6. Click OK
Now go to your view scheme and use the following sort rule: ~sort=[import date]-d,[artist],[album],[disc #],[track #]
and you should find everything now sorts as you'd expect.
-marko.
-
i use:
~sort=[date imported]-d ~a
where the ~a is for full album.
-
yeah...
I shy away from using ~a because I have full sets of album art imported into my library. ~a drags these files into the list regardless of any [media type] specification, and in most cases, this is not what I want.
-marko.
-
yes i know. today i noteced also some video files n my only audio smartlist with an artist and album name that were the same. the tread you made about it some time ago made me realize immediatly what was going on.