IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Sort by Date Added then by Album/Track Number, [moved from Support]
vrothenberg
post May 18 2012, 06:04
Post #1





Group: Members
Posts: 2
Joined: 18-May 12
Member No.: 99947



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
Go to the top of the page
+Quote Post
vrothenberg
post Jun 1 2012, 08:25
Post #2





Group: Members
Posts: 2
Joined: 18-May 12
Member No.: 99947



Bumpin'
Go to the top of the page
+Quote Post
marc2003
post Jun 1 2012, 10:54
Post #3





Group: Members
Posts: 4439
Joined: 27-January 05
From: England
Member No.: 19379



you could use $date(%added%)

see here for more: http://wiki.hydrogenaudio.org/index.php?ti...4year.28time.29
Go to the top of the page
+Quote Post
jazzy73
post Jun 1 2012, 11:40
Post #4





Group: Members
Posts: 123
Joined: 12-December 08
Member No.: 64396



I was looking for the same thing but dont 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... veryangry.gif


--------------------
our music on http://www.myspace.com/jesusmartinezquartet
Go to the top of the page
+Quote Post
MordredKLB
post Jun 1 2012, 23:06
Post #5





Group: Members
Posts: 198
Joined: 1-May 09
From: Austin, TX
Member No.: 69413



QUOTE (vrothenberg @ May 18 2012, 00:04) *
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%"

QUOTE (jazzy73 @ Jun 1 2012, 05:40) *
I was looking for the same thing but dont 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... veryangry.gif

Did you try: "%added% SINCE 2012 AND NOT %path% HAS .cue SORT DESCENDING BY $date(%added%)"?
Go to the top of the page
+Quote Post
db1989
post Jun 2 2012, 00:48
Post #6





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



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 Im not aware of a way to do this, so either its really simple and Ive missed it, or its not possible but probably should be.
Go to the top of the page
+Quote Post
q-stankovic
post Jun 2 2012, 01:05
Post #7





Group: Members
Posts: 1740
Joined: 28-May 06
From: Dsseldorf
Member No.: 31251



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
Go to the top of the page
+Quote Post
MordredKLB
post Jun 2 2012, 04:44
Post #8





Group: Members
Posts: 198
Joined: 1-May 09
From: Austin, TX
Member No.: 69413



QUOTE (db1989 @ Jun 1 2012, 18:48) *
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 Im not aware of a way to do this, so either its really simple and Ive missed it, or its 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).
Go to the top of the page
+Quote Post
jazzy73
post Jun 2 2012, 11:07
Post #9





Group: Members
Posts: 123
Joined: 12-December 08
Member No.: 64396



Ive tried all the ways you mention and the tracknumber issue is allright!

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

Anyone knows how to solve it?

thanks!!!


--------------------
our music on http://www.myspace.com/jesusmartinezquartet
Go to the top of the page
+Quote Post
MordredKLB
post Jun 2 2012, 19:57
Post #10





Group: Members
Posts: 198
Joined: 1-May 09
From: Austin, TX
Member No.: 69413



Jazzy, post the query here so we can figure out where you're going wrong.
Go to the top of the page
+Quote Post
jazzy73
post Jun 6 2012, 10:52
Post #11





Group: Members
Posts: 123
Joined: 12-December 08
Member No.: 64396



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 cant sort by DESCENDING...thats all headbang.gif


--------------------
our music on http://www.myspace.com/jesusmartinezquartet
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th July 2014 - 18:22