# Trying to automate the "TRACK" field value

**URL:** <https://community.mp3tag.de/t/trying-to-automate-the-track-field-value/53561>\
**Category:** Support\
**Created:** [June 19, 2021, 11:07pm UTC](https://community.mp3tag.de/t/trying-to-automate-the-track-field-value/53561 "2021-06-19T23:07:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SunflowerGUY](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sunflowerguy/32/9469_2.png) [@SunflowerGUY](https://community.mp3tag.de/u/SunflowerGUY)\
**Post date:** [June 19, 2021, 11:07pm UTC](https://community.mp3tag.de/t/trying-to-automate-the-track-field-value/53561/1 "2021-06-19T23:07:58Z")

</div>

Hello,  
As a music creator, all my files begin with a number, and then the song-name.  
_ **example:** 01 - My Lastest Love Song - (Master).mp3_

Is it possible to extract the first 2 characters of the filename, and use this to populate the "Track" field value within one of the "Actions" I have already defined?

Cheers,  
SunflowerGUY.

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [June 19, 2021, 11:55pm UTC](https://community.mp3tag.de/t/trying-to-automate-the-track-field-value/53561/2 "2021-06-19T23:55:43Z")

</div>

If all other fields are already done, try Guess Values, with %track% - %dummy% from the file name as the source.

---

<div class="post-metadata">

**Author:** ![SunflowerGUY](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sunflowerguy/32/9469_2.png) [@SunflowerGUY](https://community.mp3tag.de/u/SunflowerGUY)\
**Post date:** [June 22, 2021, 9:55pm UTC](https://community.mp3tag.de/t/trying-to-automate-the-track-field-value/53561/3 "2021-06-22T21:55:04Z")

</div>

Hi All,  
This is my final solution.

In the example of a file called... _ **"03 - He Spoke To Me - 2021-Master.mp3"** _,  
the following commands within the "CONVERT" process  
have extracted the **Track Number** and the **Track Title** ,  
whilst removing the remaining info contained within the filename.

![image](https://community.mp3tag.de/uploads/default/original/2X/0/08d41ef6ad16c77c8257677b2154e9d8bf8523eb.png)

Cheers,  
SFG

---

<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:** [June 23, 2021, 4:29am UTC](https://community.mp3tag.de/t/trying-to-automate-the-track-field-value/53561/4 "2021-06-23T04:29:15Z")

</div>

With that mask you create a user-defined field called NULL which you may have to delete afterwards.  
The correct keyword for data you choose to ignore during import is `%dummy%`.  
And with  
`%track% - %title% - %year%-%dummy%`  
you could get even more data out of the filename.  
Please note that the Converter is no action but I see that shows the effect of the mask better.

---

<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/trying-to-automate-the-track-field-value/53561/5 "2026-02-09T12:29:17Z")

</div>


