# Assign Track/Disc Info in Increments w/i Same Folder

**URL:** <https://community.mp3tag.de/t/assign-track-disc-info-in-increments-w-i-same-folder/50393>\
**Category:** Support\
**Created:** [October 7, 2020, 2:51am UTC](https://community.mp3tag.de/t/assign-track-disc-info-in-increments-w-i-same-folder/50393 "2020-10-07T02:51:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeeB](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/4af34b/32.png) [@LeeB](https://community.mp3tag.de/u/LeeB)\
**Post date:** [October 7, 2020, 2:51am UTC](https://community.mp3tag.de/t/assign-track-disc-info-in-increments-w-i-same-folder/50393/1 "2020-10-07T02:51:10Z")

</div>

Let's say I have 100 tracks all in the same folder & I want to divide them up into increments of 10 so that tracks 1-10 are assigned to disc 1 of 10... tracks 11-20 are assigned to disc 2 of 10, etc... Is there a way to use the auto-numbering wizard ALL in a one single function to perform this? I do this all the time disc-by-disc but it can be time consuming when you're dealing with thousands of tracks. Is there an 'increment' function of some sort that would allow this?

Many thanks,  
Lee

---

<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:** [October 7, 2020, 4:38am UTC](https://community.mp3tag.de/t/assign-track-disc-info-in-increments-w-i-same-folder/50393/2 "2020-10-07T04:38:43Z")

</div>

The wizard uses a change of folder as trigger to increment the disc-number or to reset the track counter.

If you want to split a selection of tracks in 10s then an actions of the type "Format value" may help  
To update TRACK:  
Format string: `$num($mod(%_counter%,10),3)`  
To update DISCNUMBER:  
Format string: `$num($add($div(%_counter%,10),1),3)`  
I am not quite sure if %\_counter% is incremented each time you use it or on a per-track basis. So it could be that you have to run the action separately and not in an action group.

---

<div class="post-metadata">

**Author:** ![LeeB](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/4af34b/32.png) [@LeeB](https://community.mp3tag.de/u/LeeB)\
**Post date:** [October 7, 2020, 5:08am UTC](https://community.mp3tag.de/t/assign-track-disc-info-in-increments-w-i-same-folder/50393/3 "2020-10-07T05:08:10Z")

</div>

Thanks ohrenkino. I was trying to avoid having to create an action because I'd likely have to edit the action continuously depending on the project. If I have to edit the action, for me, it's simpler to just do it disc-by-disc using the wizard. But I do GREATLY appreciate the advice. 🙂

---

<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:** [October 7, 2020, 5:10am UTC](https://community.mp3tag.de/t/assign-track-disc-info-in-increments-w-i-same-folder/50393/4 "2020-10-07T05:10:02Z")

</div>

The functions of the "Format value" action are also available in Convert\>Tag-Tag.  
There you can easily adapt the expression as the project goes along.

---

<div class="post-metadata">

**Author:** ![LeeB](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/4af34b/32.png) [@LeeB](https://community.mp3tag.de/u/LeeB)\
**Post date:** [October 7, 2020, 5:13am UTC](https://community.mp3tag.de/t/assign-track-disc-info-in-increments-w-i-same-folder/50393/5 "2020-10-07T05:13:05Z")

</div>

I'll play around with it & see if it's something that'll work for me. Thanks again!

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:28pm UTC](https://community.mp3tag.de/t/assign-track-disc-info-in-increments-w-i-same-folder/50393/6 "2026-02-09T12:28:51Z")

</div>


