Hydrogenaudio Forums

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: +LeLe+ on 2006-03-30 11:23:00

Title: Playlist Sorting String
Post by: +LeLe+ on 2006-03-30 11:23:00
Hi everybody, I need your help

How can I set a string to sort the playlist by default?

And could someone help me write this string?
I would love to sort the whole playlist by artist, then by album and date (so that foobar display artist A, all his albums from oldest to newest, artist B and so on...  )

I hope my english isn't a pain in the ass, be clement


tnx so much
LeLe
Title: Playlist Sorting String
Post by: Shinsou on 2006-03-30 11:44:42
try %artist%|%date%|%album%
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-03-30 11:52:57
Quote
try %artist%|%date%|%album%
[a href="index.php?act=findpost&pid=377030"][{POST_SNAPBACK}][/a]


how cai I try this? I can paste this into the Sort By... field?
Title: Playlist Sorting String
Post by: Shinsou on 2006-03-30 12:09:50
There is option in general preferences to sort incoming files. You can try put that code there and rescan all library or
create autoplaylist (library/autoplaylist):
Query: NOT %album% IS MISSING
Sort Format: %artist%|%date%|%album%
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-03-30 18:53:36
right, I've tried this code anda it works fine

%artist%|%date%|%album%|%tracknumber%|

but I've not found where I can set this sorting by default for all playlist a little help?

EDIT: Fine, I've found it, works fine tnx so much bye
Title: Playlist Sorting String
Post by: c M r on 2006-04-15 20:29:45
There is option in general preferences to sort incoming files. You can try put that code there and rescan all library or
create autoplaylist (library/autoplaylist):
Query: NOT %album% IS MISSING
Sort Format: %artist%|%date%|%album%


Hello.


I've got the same problems...
I want me playlist sort by %album artist%|%date%|%album%|%tracknumber%
But where on earth I've got to enter the search string?

Preferences + Display + Columns UI + Playlist View: General

Here are only checkboxes.
Two times concerning sort:
Preferences + Display + Columns UI + Playlist View: Columns: Sort

I activated "Use custom sort spec" and entered my sortstring, but nothing happend.

Could anybody help me?
Thank you!
Title: Playlist Sorting String
Post by: Shinsou on 2006-04-15 20:34:41
you looked at the wrong place. its on preferences/general
Title: Playlist Sorting String
Post by: c M r on 2006-04-15 20:47:57
Okay, I got.
Thank you for your fast replay!
Title: Playlist Sorting String
Post by: vlada on 2006-04-15 23:00:18
Hi,
Do you know how to sort playlist by track length? If I use just %length%, it puts 1:00:00 before 2:21 for example. I think it will be just a simple trick. Thanks in advance.
Title: Playlist Sorting String
Post by: gfngfgf on 2006-04-16 02:38:12
Hi,
Do you know how to sort playlist by track length? If I use just %length%, it puts 1:00:00 before 2:21 for example. I think it will be just a simple trick. Thanks in advance.

Try using %_length_seconds%
Title: Playlist Sorting String
Post by: semi on 2006-04-21 06:39:39
For sorting, I use
%singletrack%$if($strcmp($ext(%_path%),'cue'), %_path%)|$directory(%_path%)%album%%disc%$num(%tracknumber%,2)|%_path%

Which should get your singletracks(when properly tagged) after all your albums. Seems to work with %disc%,  cd1\ cd2\, .cue files, and other things that most strings I've tried fail at.
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-05 14:58:00
damned!!!

i've upgraded foobar to 0.9.1 version and this sort string now don't work... help?
Title: Playlist Sorting String
Post by: randal1013 on 2006-05-05 16:33:26
i use:

%artist% - %date% - %album% [%disc%] - %tracknumber% - %title%
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-06 16:06:10
i use:

%artist% - %date% - %album% [%disc%] - %tracknumber% - %title%


I've paste this code in Preferences -> General -> Sort Incoming File By...

but it doesn't work fine, it only sort by album name and tracknumber... 
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-07 16:41:13
[quote author=+LeLe+ link=msg=389876 date=1146927970]

i use:

%artist% - %date% - %album% [%disc%] - %tracknumber% - %title%


I've paste this code in Preferences -> General -> Sort Incoming File By...

but it doesn't work fine, it only sort by album name and tracknumber... 
[/quote]

please?
Title: Playlist Sorting String
Post by: randal1013 on 2006-05-07 17:27:30
[quote author=+LeLe+ link=msg=390179 date=1147016473][quote author=+LeLe+ link=msg=389876 date=1146927970]

i use:

%artist% - %date% - %album% [%disc%] - %tracknumber% - %title%


I've paste this code in Preferences -> General -> Sort Incoming File By...

but it doesn't work fine, it only sort by album name and tracknumber... 
[/quote]

please?
[/quote]
i don't know what to tell you. the string works for me so i can't replicate the problem. i would say either you have a custom sorting string somewhere that's interfering with this string, or your tags aren't all there, but i think you need someone smarter than me to help. sorry.
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-07 17:47:13
I think my tags are all ok, so this wouldn't be the problem...

I guess you're right talking about interfering... but I can't locate it...

keep trying...
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-09 13:24:48
up... I'm going crazy with this *#@ยง 0.9.1 version...I'm seriously thinking to the downgrade...
Title: Playlist Sorting String
Post by: foosion on 2006-05-09 14:33:01
If I got this right, you are saying that something related to playlist sorting no longer works after you upgraded from 0.9 to 0.9.1. Could you please state what exactly you configured and when this is seemingly ignored?
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-09 15:02:16
Ok, so....
I've installed (cleanly  ) foobar 0.9.1

I've paste this code:

Code: [Select]
%artist% - %date% - %album% [%disc%] - %tracknumber% - %title%


in

Preferences -> General -> Sort Incoming File By...

but the result is not what I've been looking for... that is...


artist A
  oldest album
  ...
  ...
  newset album

artist B
oldest album
  ...
  ...
  newest album

Instead, at the moment my playlist is sorting only by album name (anda tracknumber) but not for artist before all...

thanks for the help... 
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-10 13:01:35
up 
Title: Playlist Sorting String
Post by: foosion on 2006-05-10 13:22:29
Just to prevent misconceptions, "Sort incoming files by" only affects data that is added to the playlist, it does not keep the playlist sorted at all times. You could try to set the "Copy name(s)" script* to your sorting script (remember to back it up, if you need it), select the contents of your playlist and then use the "Copy name(s)" command on the selection. Paste the text into an editor (Notepad will do). This should at least allow you to see, if the script works as intended.

*: Display > Titleformatting > Copy Command.
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-10 13:59:03
Just to prevent misconceptions, "Sort incoming files by" only affects data that is added to the playlist, it does not keep the playlist sorted at all times.


right, it's just what I want, when I select something from the album list panel this selection's displayed in a playlist I choose, but right now not in the order I wish to have...
You could try to set the "Copy name(s)" script* to your sorting script (remember to back it up, if you need it), select the contents of your playlist and then use the "Copy name(s)" command on the selection. Paste the text into an editor (Notepad will do). This should at least allow you to see, if the script works as intended.

*: Display > Titleformatting > Copy Command.


Ok, I've tried this thing and the result in notepad is right, it is:

artist - date - album - tracknumber - title

but I've not understand the utility of thi soperation....

I just want the playlist to been sorted in the way I've descripted above...
Title: Playlist Sorting String
Post by: Zoom on 2006-05-10 14:04:06
It sounds like you need to use:

Edit > Sort > Sort By...

That sorts the currently active playlist by the string you give it.
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-10 14:06:18
It sounds like you need to use:

Edit > Sort > Sort By...

That sorts the currently active playlist by the string you give it.


yessssss!!!!! 

but I want this sort to be perform automatically... without clicking every time edit -> sort -> sort by...

Is it possible? 
Title: Playlist Sorting String
Post by: krazy on 2006-05-10 15:48:10
Yes. Create an Autoplaylist with all your songs in it. Something like
Code: [Select]
%path% HAS :
Then enter your desired sorting string in the appropriate box, check 'Keep sorted' and click ok.
Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-11 10:12:06
right, I figured out...

It was the

Edit -> Sort -> Sort By...

that was in conflict with the Sort Incoming File by...

Title: Playlist Sorting String
Post by: +LeLe+ on 2006-05-12 00:25:06
just another little thing:

to make the files that come from the album list panel I'd to select the option:

apply core sort settings to added items

now it works exactly how I want... tnx to all for supporting me...
SimplePortal 1.0.0 RC1 © 2008-2020