# Format Title with and incremental number

**URL:** <https://community.mp3tag.de/t/format-title-with-and-incremental-number/51916>\
**Category:** Support\
**Created:** [February 8, 2021, 10:05pm UTC](https://community.mp3tag.de/t/format-title-with-and-incremental-number/51916 "2021-02-08T22:05:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sosullivan](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ea5d25/32.png) [@sosullivan](https://community.mp3tag.de/u/sosullivan)\
**Post date:** [February 8, 2021, 10:05pm UTC](https://community.mp3tag.de/t/format-title-with-and-incremental-number/51916/1 "2021-02-08T22:05:34Z")

</div>

Hi folks,  
Hope someone can help with my question:  
I'd like to add an action that adds a number at the beginning of each track for example:  
35 - 01 - Blah.mp3  
and next time  
36 - 01 - Bleh.mp3

I know how to make the rule but at the moment I have to edit the rule each time and change the first number.  
I would ideally like capture my choice of number and put that into the action dynamically.

Hope this makes sense  
Seamus

---

<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:** [February 9, 2021, 5:42am UTC](https://community.mp3tag.de/t/format-title-with-and-incremental-number/51916/2 "2021-02-09T05:42:26Z")

</div>

Unfortunately, you don't tell us how you do it at the moment. That could have been something to build on.

In a function or action that allows a format string, you could use %\_counter% as number.  
This starts always at "1". So if you need an offset, you have to $add() that offset to %\_counter%.

And to be honest:

> [@sosullivan](#):
>
> 35 - 01 - Blah.mp3

does not look like the metadata field TITLE but suspicioulsy like the filename.

---

<div class="post-metadata">

**Author:** ![sosullivan](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ea5d25/32.png) [@sosullivan](https://community.mp3tag.de/u/sosullivan)\
**Post date:** [February 9, 2021, 9:00am UTC](https://community.mp3tag.de/t/format-title-with-and-incremental-number/51916/3 "2021-02-09T09:00:30Z")

</div>

Hi there.

I didn't explain myself correctly. I have tracks as follows:

01 – Filename.mp3

02 – Filename.mp3

Etc

And I want to add a week number at the beginning as follows:

35 – 01- Filename.mp3

35 - 02 – Filename.mp3

Which would increment each week etc

I have built an action as follows:

Actions/Format value/  
Field: "\_FILENAME"  
Format string: " 35 - %title%"

My question is how to increment that number without having to edit the action each time manually.

I would ideally like to get the number by means of the user input (for example) and the result being used in the action.

Hope I have explained better and thanks for any help you can offer

Cheers

Seamus

---

<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:** [February 9, 2021, 9:06am UTC](https://community.mp3tag.de/t/format-title-with-and-incremental-number/51916/4 "2021-02-09T09:06:25Z")

</div>

> [@sosullivan](#):
>
> by means of the user input (for example)

If you use Convert\>Tag-Filename then you have the user input. This function also remembers a couple of preferred masks and presents them with an incremental search.  
Actions do not have the option to ask for settings while running.

---

<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:29pm UTC](https://community.mp3tag.de/t/format-title-with-and-incremental-number/51916/5 "2026-02-09T12:29:03Z")

</div>


