Skip to main content
Topic: Playlist Sorting String (Read 7788 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Playlist Sorting String

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

Playlist Sorting String

Reply #1
try %artist%|%date%|%album%

Playlist Sorting String

Reply #2
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?

Playlist Sorting String

Reply #3
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%

Playlist Sorting String

Reply #4
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

Playlist Sorting String

Reply #5
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:
  • "Display sort arrows on sorted playlists"
  • Enable sorting using columns titles

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!

Playlist Sorting String

Reply #6
you looked at the wrong place. its on preferences/general

Playlist Sorting String

Reply #7
Okay, I got.
Thank you for your fast replay!

Playlist Sorting String

Reply #8
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.

Playlist Sorting String

Reply #9
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%

Playlist Sorting String

Reply #10
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.

Playlist Sorting String

Reply #11
damned!!!

i've upgraded foobar to 0.9.1 version and this sort string now don't work... help?

Playlist Sorting String

Reply #12
i use:

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

Playlist Sorting String

Reply #13
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... 

Playlist Sorting String

Reply #14
[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?

Playlist Sorting String

Reply #15
[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.

Playlist Sorting String

Reply #16
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...

Playlist Sorting String

Reply #17
up... I'm going crazy with this *#@ยง 0.9.1 version...I'm seriously thinking to the downgrade...

Playlist Sorting String

Reply #18
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?

Playlist Sorting String

Reply #19
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... 

Playlist Sorting String

Reply #20
up 

Playlist Sorting String

Reply #21
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.

Playlist Sorting String

Reply #22
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...

Playlist Sorting String

Reply #23
It sounds like you need to use:

Edit > Sort > Sort By...

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

Playlist Sorting String

Reply #24
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? 

 
SimplePortal 1.0.0 RC1 © 2008-2020