# Track number issue

**URL:** https://community.mp3tag.de/t/track-number-issue/15147
**Category:** General Discussion
**Created:** [October 28, 2013, 4:34pm UTC](https://community.mp3tag.de/t/track-number-issue/15147 "2013-10-28T16:34:20Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![podgey](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/51bf81/32.png) [@podgey](https://community.mp3tag.de/u/podgey)
#### Post date: [October 28, 2013, 4:34pm UTC](https://community.mp3tag.de/t/track-number-issue/15147/1 "2013-10-28T16:34:20Z")

</div>

Hi, ive looked through the forums regarding this issue and i cant find anything. Ive used this program many times its great but i have a problem. I like to just display the track number but in some of my mp3 tages the track number is 0121 as in track 01 of 21, is there a command i can type in to get rid of the 21 and just have 01.

Thanks,  
Chris

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [October 28, 2013, 5:04pm UTC](https://community.mp3tag.de/t/track-number-issue/15147/2 "2013-10-28T17:04:48Z")

</div>

> [@podgey](#):
>
> ... in some of my mp3 tages the track number is 0121 as in track 01 of 21, is there a command i can type in to get rid of the 21 and just have 01. ...

Note, such an action requires concentration and good judgment.

Set the Mp3tag filter to ...  
"$len(%TRACK%)" IS 4

... or use a somewhat stricter filter  
"$len(%TRACK%)" IS 4 AND NOT TRACK HAS "/"

Then use the Mp3tag converter "Tag - Tag":  
Field: TRACK\_TEMP  
Format string: $cutRight(%TRACK%,2)

If all values in the tag-field TRACK\_TEMP look good, then copy the content from tag-field TRACK\_TEMP to TRACK, afterwards remove the tag-field TRACK\_TEMP.  
... or ...  
If all values in the tag-field TRACK\_TEMP look good, then apply the cutRight function to the tag-field TRACK, afterwards remove the tag-field TRACK\_TEMP.

Another method to solve this task would be ...  
... use the "Autonumbering Wizard" with the proper setting.

DD.20131028.1930.CET

---

<div class="post-metadata">

### Author: ![podgey](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/51bf81/32.png) [@podgey](https://community.mp3tag.de/u/podgey)
#### Post date: [November 4, 2013, 9:09pm UTC](https://community.mp3tag.de/t/track-number-issue/15147/3 "2013-11-04T21:09:51Z")

</div>

> [@DetlevD](#):
>
> Note, such an action requires concentration and good judgment.
> 
> Set the Mp3tag filter to ...  
> "$len(%TRACK%)" IS 4
> 
> ... or use a somewhat stricter filter  
> "$len(%TRACK%)" IS 4 AND NOT %TRACK% HAS "/"

Like you say that track comes up number 4 instead of number 1, what is a stricter command i can used to ignore the last 2 digits of the track number?

Thanks!!!!

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [November 4, 2013, 9:25pm UTC](https://community.mp3tag.de/t/track-number-issue/15147/4 "2013-11-04T21:25:36Z")

</div>

> [@podgey](#):
>
> Like you say that track comes up number 4 instead of number 1, what is a stricter command i can used to ignore the last 2 digits of the track number?  
> Thanks!!!!

I do not understand what you say and what help you need.  
Please explain it with other words and by example.

DD.20131104.2325.CET

---

<div class="post-metadata">

### Author: ![podgey](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/51bf81/32.png) [@podgey](https://community.mp3tag.de/u/podgey)
#### Post date: [November 25, 2013, 10:56am UTC](https://community.mp3tag.de/t/track-number-issue/15147/5 "2013-11-25T10:56:14Z")

</div>

> [@DetlevD](#):
>
> I do not understand what you say and what help you need.  
> Please explain it with other words and by example.
> 
> DD.20131104.2325.CET

The tracks have been named 0110 - title - artist

01 is the track number and 10 is how many racks are on the album

eg 0210 is track 2 of 10 tracks

I just want the first 2 digits so its 2 - title - artist

is that possible?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 25, 2013, 11:30am UTC](https://community.mp3tag.de/t/track-number-issue/15147/6 "2013-11-25T11:30:53Z")

</div>

> [@podgey](#):
>
> The tracks have been named 0110 - title - artist
> 
> 01 is the track number and 10 is how many racks are on the album
> 
> eg 0210 is track 2 of 10 tracks
> 
> I just want the first 2 digits so its 2 - title - artist
> 
> is that possible?

when you write the filenames do not use the plain %track% but $num(%track%,2)

---

<div class="post-metadata">

### Author: ![podgey](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/51bf81/32.png) [@podgey](https://community.mp3tag.de/u/podgey)
#### Post date: [November 25, 2013, 4:22pm UTC](https://community.mp3tag.de/t/track-number-issue/15147/7 "2013-11-25T16:22:25Z")

</div>

> [@ohrenkino](#):
>
> when you write the filenames do not use the plain %track% but $num(%track%,2)

THANK YOU very much, that simple tag has worked great!!!!!!

---

<div class="post-metadata">

### Author: ![Phixion](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/dc4da7/32.png) [@Phixion](https://community.mp3tag.de/u/Phixion)
#### Post date: [January 23, 2014, 5:53pm UTC](https://community.mp3tag.de/t/track-number-issue/15147/8 "2014-01-23T17:53:38Z")

</div>

You can also use the auto numbering feature (CTRL-K)

As long as each album is in it's own directory it will write new track numbers.
