IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Is there a way to invert sort order in playlist?, changing from ascending to descending?
MestreLion
post Mar 8 2004, 01:47
Post #1





Group: Members
Posts: 47
Joined: 29-November 02
From: Rio de Janeiro, Brazil
Member No.: 3920



Is there a way to invert sort order in playlist? changing from ascending to descending?

the actual problem im trying to solve is: i have several .FLAC and .MP3 files in a single folder. They all have the same name (rush.flac, rush.mp3, foo.flac, foo.mp3, bar.flac, bar.mp3, and so on). The mp3 are tagged, the flacs are not. I guess that the easiest way to tag the flac was to use Copy Tag option in foobar masstagger.

but it seem that, for it to work (proper tags going to proper files), it requires the following playlist:

1 - bar.mp3
2 - foo.mp3
3 - rush.mp3
4 - bar.flac
5 - foo.flac
6 - rush.flac

but the default order the playlist is generated when i load the dir is:

1 - bar.flac
2 - bar.mp3
3 - foo.flac
4 - foo.mp3
5 - rush.flac
6 - rush.mp3

(by the way... can masstagger Copy Tag be configured somehow to match files in such order?)

Using $ext(%_path%), i could manage to separate the flacs and mp3s, but the flacs still go on top of the mp3. Thats why i need to invert the playlist order, so the mp3s go first. Or am i missing something ?

How to?

and, again, sorry if the question is silly. im using foobar2000 for less than a week. already in love with it, and learning a lot... its just sometimes i cant find the answer anywhere. (any reference manual out there?)
Go to the top of the page
+Quote Post
Phi
post Mar 8 2004, 08:37
Post #2





Group: Members
Posts: 333
Joined: 1-February 03
Member No.: 4829



QUOTE (MestreLion @ Mar 8 2004, 11:47 AM)
Using $ext(%_path%), i could manage to separate the flacs and mp3s, but the flacs still go on top of the mp3.

There's no tagz function that will reverse the order as far as I know, but for that particular application you could try something like:
CODE
$cut(%_path%,$strrchr(%_path%,.))$if($strcmp($ext(%_filename_ext%),mp3),0,1)

which should put files with an mp3 extension on top of those with some other extension.
Go to the top of the page
+Quote Post
kjoonlee
post Mar 8 2004, 09:43
Post #3





Group: Members
Posts: 2526
Joined: 25-July 02
From: South Korea
Member No.: 2782



I would also be grateful to learn how to invert the sort order. If it isn't possible at the moment, could this be implemented in a future version of foobar2000 please?


--------------------
http://blacksun.ivyro.net/vorbis/vorbisfaq.htm
Go to the top of the page
+Quote Post
kode54
post Mar 8 2004, 19:20
Post #4





Group: Admin
Posts: 4499
Joined: 15-December 02
Member No.: 4082



Gee, still nobody using $codec().
Go to the top of the page
+Quote Post
MestreLion
post Mar 8 2004, 22:50
Post #5





Group: Members
Posts: 47
Joined: 29-November 02
From: Rio de Janeiro, Brazil
Member No.: 3920



QUOTE (kode54 @ Mar 8 2004, 04:20 PM)
Gee, still nobody using $codec().

If its not documented, how can we ever know about it? its not in the very syntax reference presented by the help button provided in the Sort by window.

By the way, even if my foobar is v0.8, the help file installed still say "Syntax reference for title formatting for version 0.7"

another thing: why cant masstagger "Copy Tag" function have an option to match files in the "usual" order? if it would allow files to be matched like this:

1 - bar.flac
2 - bar.mp3
3 - foo.flac
4 - foo.mp3
5 - rush.flac
6 - rush.mp3

the problem would be gone!!!! withouth any fancy reverse order string containing undocumented variables...
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: 18th April 2014 - 16:51