# Feature Request: Remove leading zeros on metadata creation

**URL:** https://community.mp3tag.de/t/feature-request-remove-leading-zeros-on-metadata-creation/48345
**Category:** General Discussion
**Created:** [March 28, 2020, 1:09pm UTC](https://community.mp3tag.de/t/feature-request-remove-leading-zeros-on-metadata-creation/48345 "2020-03-28T13:09:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![0LD3\_DUDE](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/0/3e96dc/32.png) [@0LD3\_DUDE](https://community.mp3tag.de/u/0LD3_DUDE)
#### Post date: [March 28, 2020, 1:09pm UTC](https://community.mp3tag.de/t/feature-request-remove-leading-zeros-on-metadata-creation/48345/1 "2020-03-28T13:09:39Z")

</div>

EAC adds leading zeros when creating new files. These end up in the metadata as MP3Tag processes those files. Would it be possible to have the **OPTION** to strip out leading zeros when MP3TAG uses file names to create tags? I've always done it later, in a separate step, but it would be nice to have it happen automatically.

This would have to be an option, as some people like those leading zeros.

---

<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: [March 28, 2020, 1:41pm UTC](https://community.mp3tag.de/t/feature-request-remove-leading-zeros-on-metadata-creation/48345/2 "2020-03-28T13:41:22Z")

</div>

> [@0LD3\_DUDE](#):
>
> This would have to be an option, as some people like those leading zeros.

You already have that option as you can define a format string to create a filename.  
E.g. to get a track number without padding zeros, use  
$num(%track%,1)  
instead of the simple %track%.

---

<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: [July 22, 2023, 5:19pm UTC](https://community.mp3tag.de/t/feature-request-remove-leading-zeros-on-metadata-creation/48345/3 "2023-07-22T17:19:15Z")

</div>

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