Skip to main content
Topic: Sorting songs numerical per album (Read 187 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Sorting songs numerical per album

Hello,

I have a very basic question:

I have ripped some cd's in flac and added them to a playlist on foobar.

I group the songs by artist/date/album. So far so good.

But the songs per album aren't in the numerical order, they are in alfabetical order.

When I click on the column 'track no', the songs don't order by album anymore.

How can I put the songs per album and in numerical order in each album without all songs getting mixed up?

I'm a noob, so please be gentle.

Thanks!!

Dirk



Re: Sorting songs numerical per album

Reply #3
Yes!
I think I get it: you're saying that when multiple albums are in the playlist and you click on "track no" all the "1" tracks sort together.  Click on track no, then click on album.  It's been too long since I configured this in foobar2000; I'll have to go try to figure out how you set this sorting as default.

Re: Sorting songs numerical per album

Reply #4
After typing everything below, I realised I'd missed the obvious. If you click on the default Track No column, followed by the Artist/Album column, it should sort the way you want, only by artist, then album, then track number. I forgot I was using custom Track and Disc number columns and it wasn't always working for me as expected. To sort by Album and track number you'll probably need to add the Album column by right clicking on a column header, then you can click on the Track No column header followed by the Album column header. The grouping should be the same but the tracks not in an Album will probably be ordered differently..

There's also other ways to sort, and seeing as I typed it all I'll leave it below in case some of it's useful, or you'd prefer not to change the columns in the playlist.

Sorting via the right click menu:
Highlight the tracks in the playlist you wish to sort, right click on one, select Sort/Sort By, and in the window that pops up, paste the following, then click Okay.
%artist%|%album%|%disc%|%track%
or try this:
%artist%|%album%|%discnumber%|%tracknumber%
I can't remember what the difference is between disc and discnumber or track and tracknumber but they both seem to work in this context. You can exclude %artist% if you want to sort purely by album but personally I think sorting by Artist and then album is better, although that's probably because I don't use grouping. If you want to remove any entries you added to the dropdown list, right click on the dropdown arrow.

For manual sorting:
Right click on a column header, and add the default Artist, Album and Track No columns if they're not added already, so you can use them for sorting.
Under Preferences/Advanced/Display, the "Standard sort pattern" field should contain something like the following. The easiest way to edit it is to copy and paste the field contents into Notepad. Don't worry too much about making a mess as you can always right click on the field to reset it.

File Path=%path_sort%;Artist=%artist%|%date%;Album=%album%|%discnumber%|%tracknumber%;Track Number=%discnumber%|%tracknumber%;Title=%title%

I've never exactly got my head around the way it works, but changing it to the following should for the trick:

File Path=%path_sort%;Artist=%artist%|%album%|%discnumber%|%tracknumber%;Album=%album%|%discnumber%|%tracknumber%;Track Number=%discnumber%|%tracknumber%;Title=%title%

The only thing you're changing is the Artist column behaviour, so you should be able to click on the Track No column followed by the Album column to sort the way you want, and then you should be able to click on the Artist column to further sort by artist without messing up the album/track order.
The end result is clicking on the "Track No" column followed by the "Arstist/Album" column should result in the same grouping as "TrackNo" - "Album" - "Artist".

You can also add the following to "sort incoming files by" under Preferences/Shell Integration:
%artist%|%album%|%discnumber%|%tracknumber%

Re: Sorting songs numerical per album

Reply #5
Hi there,

I have ripped some cd's in flac and added them to a playlist on foobar.

How have you added them to the playlist? Are you using the default library viewer (Album List) or another component or Windows Explorer?

This is important because the initial (automatic) sorting is handled by the library viewer - it sends tracks to the playlist already sorted using the defaults.

The above replies are referring to manual sorting, after tracks are already in the playlist.

Each library viewer (Album List, Facets, Columns UI, or Windows Explorer, etc) has its own default sort order in Preferences. So default sorting depends which one you use.

Cheers

Re: Sorting songs numerical per album

Reply #6
If you click on the default Track No column, followed by the Artist/Album column, it should sort the way you want, only by artist, then album, then track number.

That did the trick, thanks!!

 
SimplePortal 1.0.0 RC1 © 2008-2020