Skip to main content

Topic: Sort by Date Added then by Album/Track Number (Read 1805 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
Sort by Date Added then by Album/Track Number
I'm having a problem with newly added songs.  I've set an autoplaylist up that sorts by the date added, however the tracks were not created/added in the same sequence as the track number which leads to albums that are out of order.  Is there a way to keep all the albums in their relative positions by date added, then sort the tracks within each album by their track number?

Here's a screenshot of what I'm talking about:

http://i.imgur.com/SfKBZ.png

Sort by Date Added then by Album/Track Number
Reply #1
Bumpin'

  • marc2003
  • [*][*][*][*][*]
Sort by Date Added then by Album/Track Number
Reply #2
you could use $date(%added%)

see here for more: http://wiki.hydrogenaudio.org/index.php?ti...4year.28time.29

  • jazzy73
  • [*][*][*]
Sort by Date Added then by Album/Track Number
Reply #3
I was looking for the same thing but don´t know how to use $date(%added%) string...

with this string %added% SINCE 2012 AND NOT %path% HAS .cue SORT DESCENDING BY %added%
I have the latest at the top of the list,no cues but the tracknumber sorting problem persists...

  • MordredKLB
  • [*][*][*]
Sort by Date Added then by Album/Track Number
Reply #4
I'm having a problem with newly added songs.  I've set an autoplaylist up that sorts by the date added, however the tracks were not created/added in the same sequence as the track number which leads to albums that are out of order.  Is there a way to keep all the albums in their relative positions by date added, then sort the tracks within each album by their track number?

Here's a screenshot of what I'm talking about:

http://i.imgur.com/SfKBZ.png

You'd want to use "$date(%added%) %album artist% %album% %discnumber% %tracknumber%"

I was looking for the same thing but don´t know how to use $date(%added%) string...

with this string %added% SINCE 2012 AND NOT %path% HAS .cue SORT DESCENDING BY %added%
I have the latest at the top of the list,no cues but the tracknumber sorting problem persists...

Did you try: "%added% SINCE 2012 AND NOT %path% HAS .cue SORT DESCENDING BY $date(%added%)"?

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
Sort by Date Added then by Album/Track Number
Reply #5
Ultimate noob question: Can the query syntax perform multiple, sequential sorts? Or otherwise create nested groups? Clearly, sorting by the date added can easily disrupt albums and sequences of track numbers, if these are not established as unbreakable groups by some other method. I ask because I’m not aware of a way to do this, so either it’s really simple and I’ve missed it, or it’s not possible but probably should be.

Sort by Date Added then by Album/Track Number
Reply #6
I think both:

SORT BY <$year(%date%) %album% %tracknumber%>

and

SORT BY <$year(%added%)> SORT BY <%album%> SORT BY <%tracknumber%>

will give same result.
german support forum: www.foobar-users.de / user: qwert73

  • MordredKLB
  • [*][*][*]
Sort by Date Added then by Album/Track Number
Reply #7
Ultimate noob question: Can the query syntax perform multiple, sequential sorts? Or otherwise create nested groups? Clearly, sorting by the date added can easily disrupt albums and sequences of track numbers, if these are not established as unbreakable groups by some other method. I ask because I’m not aware of a way to do this, so either it’s really simple and I’ve missed it, or it’s not possible but probably should be.

There's no way to establish unbreakable groups, because it doesn't really make sense. A field like %added% can obviously be different across multiple files, so which value in the group would you sort by? It starts to really get away from the concept.

The best you can do is something similar to one of the sequences q-stankovic posted. Your albums can still be easily disrupted if you add the entire album on one day, but then change the song title of one track the next day (because %added% would have changed to the current date for that one file).

  • jazzy73
  • [*][*][*]
Sort by Date Added then by Album/Track Number
Reply #8
I´ve tried all the ways you mention and the tracknumber issue is allright!

The problem is that now I can´t get my latest added at the top of the list..SORT DESCENDING BY is not working anymore!

Anyone knows how to solve it?

thanks!!!

  • MordredKLB
  • [*][*][*]
Sort by Date Added then by Album/Track Number
Reply #9
Jazzy, post the query here so we can figure out where you're going wrong.

  • jazzy73
  • [*][*][*]
Sort by Date Added then by Album/Track Number
Reply #10
my Autoplaylist Properites:
Query pattern:%added% SINCE 2012 AND NOT %path% HAS .cue SORT DESCENDING BY %added%

with this string I have my latest at the top of the list,the only problem is some albums has the tracks unsorted.with the strings SORT BY <$year(%added%)> SORT BY <%album%> SORT BY <%tracknumber%>  or 
SORT BY <$year(%date%) %album% %tracknumber%>

the tracknumber issue is solved BUT I can´t sort by DESCENDING...thats all