# Inserting a starting number higher than 1

**URL:** https://community.mp3tag.de/t/inserting-a-starting-number-higher-than-1/64731
**Category:** Support
**Created:** [May 20, 2024, 9:09pm UTC](https://community.mp3tag.de/t/inserting-a-starting-number-higher-than-1/64731 "2024-05-20T21:09:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cmach1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/46a35a/32.png) [@cmach1](https://community.mp3tag.de/u/cmach1)
#### Post date: [May 20, 2024, 9:09pm UTC](https://community.mp3tag.de/t/inserting-a-starting-number-higher-than-1/64731/1 "2024-05-20T21:09:58Z")

</div>

I'm trying to tag mp3s in the filename with a catalog code. The code is in parenthesis and starts with a couple of letters followed by a hyphen (i.e. TC-). After the hyphen goes the catalog number and the number for each track on the album is incremental. It just doesn't usually start at 1. It might be 77 or 43 or something like that.

I can get the "TC-" into the filename, but how do I insert a number that will increase by one for each track that follows and how do I tell the program what number to start with?

I would like to be able to do this using string values in the filename-filename section.

Thank you for any help.

---

<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: [May 20, 2024, 9:13pm UTC](https://community.mp3tag.de/t/inserting-a-starting-number-higher-than-1/64731/2 "2024-05-20T21:13:55Z")

</div>

> [@cmach1](#):
>
> It might be 77 or 43 or something like that.

Try `$add(%_counter%,42)` to get 43ff

---

<div class="post-metadata">

### Author: ![cmach1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/46a35a/32.png) [@cmach1](https://community.mp3tag.de/u/cmach1)
#### Post date: [May 20, 2024, 9:37pm UTC](https://community.mp3tag.de/t/inserting-a-starting-number-higher-than-1/64731/3 "2024-05-20T21:37:43Z")

</div>

Thank you. That's the code I needed.

---

<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: [June 19, 2024, 9:38pm UTC](https://community.mp3tag.de/t/inserting-a-starting-number-higher-than-1/64731/4 "2024-06-19T21:38:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
