Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Need help with track numbering (Read 4133 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Need help with track numbering

Hi, I just imported an album in foobar and my tracks are numbered like this: 1.01, 1.02, 1.03, ... In my files, the tracks are numbered 01, 02 ,03.... In the metadata it also shows the track numbers as 01, 02, 03. Is there a way to number the tracks simply according to the file's numbering so that it shows "as is" in the album navigator (or all of foobar)? Thanks, and sorry if this has been answered, I couldn't find a simple explanation.

Need help with track numbering

Reply #1
Hi, I just imported an album in foobar and my tracks are numbered like this: 1.01, 1.02, 1.03, ... In my files, the tracks are numbered 01, 02 ,03.... In the metadata it also shows the track numbers as 01, 02, 03. Is there a way to number the tracks simply according to the file's numbering so that it shows "as is" in the album navigator (or all of foobar)? Thanks, and sorry if this has been answered, I couldn't find a simple explanation.


The reason why foobar numbers your tracks with 1.01 instead of 01 is probably because the "Disc number" or "Total discs" metadata is set to 1. If, for instance, the disc number metadata was set to 2 then foobar would number your track to 2.01, 2.02, 2.03 etc.
There are a couple of options you can take to adjust the track numbering.
- You can remove the "Disc number" and "Total discs" metadata from your tracks and foobar will number your track to 01 instead of 1.01
- You can also adjust the way foobar handles the "Disc number" and "Total discs" tags when numbering the tracks. I have foobar set to number the track as 1.01, 1.02 etc if the "Disc number" or "Total discs" tag number is greater then 1.

To change the numbering in foobar:
- go to > file: preferences
-display > playlist view
- under Custom columns > add new
- click name column and type: track
- click pattern and paste: $ifgreater($max(%discnumber%,%totaldiscs%),1,%discnumber%.,)%tracknumber%
- click alignment and set to right
- click apply and ok
- In the playlist click with right mouse button on "track no" column
- disable the  "track no" column and enable the "track" column
- Move the "track" column to the same position as the "track no" column
- Now foobar will only number the tracks with 1.01, 1.02 when the "Disc number" or "Total discs" tags are greater then 1

greetz



Need help with track numbering

Reply #2
Hi, I just imported an album in foobar and my tracks are numbered like this: 1.01, 1.02, 1.03, ... In my files, the tracks are numbered 01, 02 ,03.... In the metadata it also shows the track numbers as 01, 02, 03. Is there a way to number the tracks simply according to the file's numbering so that it shows "as is" in the album navigator (or all of foobar)? Thanks, and sorry if this has been answered, I couldn't find a simple explanation.


The reason why foobar numbers your tracks with 1.01 instead of 01 is probably because the "Disc number" or "Total discs" metadata is set to 1. If, for instance, the disc number metadata was set to 2 then foobar would number your track to 2.01, 2.02, 2.03 etc.
There are a couple of options you can take to adjust the track numbering.
- You can remove the "Disc number" and "Total discs" metadata from your tracks and foobar will number your track to 01 instead of 1.01
- You can also adjust the way foobar handles the "Disc number" and "Total discs" tags when numbering the tracks. I have foobar set to number the track as 1.01, 1.02 etc if the "Disc number" or "Total discs" tag number is greater then 1.

To change the numbering in foobar:
- go to > file: preferences
-display > playlist view
- under Custom columns > add new
- click name column and type: track
- click pattern and paste: $ifgreater($max(%discnumber%,%totaldiscs%),1,%discnumber%.,)%tracknumber%
- click alignment and set to right
- click apply and ok
- In the playlist click with right mouse button on "track no" column
- disable the  "track no" column and enable the "track" column
- Move the "track" column to the same position as the "track no" column
- Now foobar will only number the tracks with 1.01, 1.02 when the "Disc number" or "Total discs" tags are greater then 1

greetz


Wow, Thank you very much for the quick and helpful answer! Much appreciated!