# Convert filename to tag-\> comment

**URL:** <https://community.mp3tag.de/t/convert-filename-to-tag-comment/45564>\
**Category:** Support\
**Created:** [May 29, 2019, 7:05am UTC](https://community.mp3tag.de/t/convert-filename-to-tag-comment/45564 "2019-05-29T07:05:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alyons7464](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@alyons7464](https://community.mp3tag.de/u/alyons7464)\
**Post date:** [May 29, 2019, 7:05am UTC](https://community.mp3tag.de/t/convert-filename-to-tag-comment/45564/1 "2019-05-29T07:05:50Z")

</div>

I have hundreds of old radio shows that have their air date and episode number only in the filename and the title of the episode is only in the Title-tag. How can I make the tag in Convert: filename -\> tag with the tag being specific to Year or Comment etc? (tag being tied to Title specific)

Example:  
Filename: 41-08-31 001.mp3  
Title: the horse ran wildly  
Track: "blank"  
Year: "blank"  
Comment: "blank"

---

<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 29, 2019, 7:09am UTC](https://community.mp3tag.de/t/convert-filename-to-tag-comment/45564/2 "2019-05-29T07:09:54Z")

</div>

Getting the data from the filenames will work for those that have a common pattern.

> [@alyons7464](#):
>
> How can I make the tag in Convert: filename -\> tag with the tag being specific to Year or Comment etc? (tag being tied to Title specific)

You can use the variables %year% and %comment% in the function Convert\>Filename-Tag.  
Also, you can use %dummy% for each part of the pattern that you want to be ignored.  
As you did not supply a real life example, I cannot help you any further.

---

<div class="post-metadata">

**Author:** ![alyons7464](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@alyons7464](https://community.mp3tag.de/u/alyons7464)\
**Post date:** [May 29, 2019, 10:21am UTC](https://community.mp3tag.de/t/convert-filename-to-tag-comment/45564/3 "2019-05-29T10:21:27Z")

</div>

Thank you for the response. I provided an example by editing my initial question.  
In response to your suggestion I have attempted this but am unable to find where to change the tab direction (title to year/comment/albumartist etc) when selecting "Convert filename-tab". Perhaps you have more detailed instructions?

---

<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 29, 2019, 10:47am UTC](https://community.mp3tag.de/t/convert-filename-to-tag-comment/45564/4 "2019-05-29T10:47:29Z")

</div>

> [@alyons7464](#):
>
> Filename: 41-08-31 001.mp3

so I guess: 41 is the year  
08 is the month  
31 is the day  
001 is the episode  
If you only want to get the 41 and 001 then I suggest the following:  
Convert \> Filename-Tag  
Format string: %year%-%dummy%-%dummy% %track%

If you want to get the whole date into the field RELEASETIME which allows not only the year but also month, day and even daytime, then you could use:  
Format string: %releasetime% %track%  
You would then have to add a "19" in front of RELEASETIME and some more data which you can do after the import with  
Convert\>Tag-Tag for RELEASETIME  
Format string: 19%releasetime%T00:00:00Z  
so that you get the right format.

To add the "19" to YEAR when it is only 2 digits long, use also  
Convert\>Tag-Tag for YEAR  
Format string: 19%year%

I don't know, though, which data you wanted to get into comment.

---

<div class="post-metadata">

**Author:** ![Patch](https://community.mp3tag.de/user_avatar/community.mp3tag.de/patch/32/9350_2.png) [@Patch](https://community.mp3tag.de/u/Patch)\
**Post date:** [May 29, 2019, 10:59am UTC](https://community.mp3tag.de/t/convert-filename-to-tag-comment/45564/5 "2019-05-29T10:59:05Z")

</div>

Never knew about %dummy%.

That sounds very useful...

---

<div class="post-metadata">

**Author:** ![alyons7464](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@alyons7464](https://community.mp3tag.de/u/alyons7464)\
**Post date:** [June 5, 2019, 11:04pm UTC](https://community.mp3tag.de/t/convert-filename-to-tag-comment/45564/6 "2019-06-05T23:04:18Z")

</div>

Thank you so much for this! This really helps.

---

<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/convert-filename-to-tag-comment/45564/7 "2026-02-09T12:28:06Z")

</div>


