# Filename - Tag, assign same value to multiple tags

**URL:** https://community.mp3tag.de/t/filename-tag-assign-same-value-to-multiple-tags/13234
**Category:** General Discussion
**Created:** [March 18, 2012, 6:38pm UTC](https://community.mp3tag.de/t/filename-tag-assign-same-value-to-multiple-tags/13234 "2012-03-18T18:38:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![redstang](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@redstang](https://community.mp3tag.de/u/redstang)
#### Post date: [March 18, 2012, 6:38pm UTC](https://community.mp3tag.de/t/filename-tag-assign-same-value-to-multiple-tags/13234/1 "2012-03-18T18:38:27Z")

</div>

I'd like to know if there is a format syntax to apply the same part of the file name to multiple tags. Take for example %artist% and %albumartist%. For the podcasts I am trying to tag, the artist value only appears once in the path, however I'd like to assign it to both %artist% and %albumartist% at the same time. Is there a way to do that?

---

<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 18, 2012, 6:54pm UTC](https://community.mp3tag.de/t/filename-tag-assign-same-value-to-multiple-tags/13234/2 "2012-03-18T18:54:55Z")

</div>

> [@redstang](#):
>
> Is there a way to do that?

No.  
But you could create an action group that consists of 2 actions: one to import data from \_directory so that some part ends up in ARTIST.  
You can then copy the contents of ARTIST into ALBUMARTIST with the next action of the type "Format tag field" for ALBUMARTIST and the format string %artist%.  
The process will feel as one action, though.

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [March 18, 2012, 7:19pm UTC](https://community.mp3tag.de/t/filename-tag-assign-same-value-to-multiple-tags/13234/3 "2012-03-18T19:19:44Z")

</div>

Actually it's possible with the Guess Values action.  
But I think ohrenkino's suggestion is easier.

---

<div class="post-metadata">

### Author: ![redstang](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@redstang](https://community.mp3tag.de/u/redstang)
#### Post date: [March 18, 2012, 7:57pm UTC](https://community.mp3tag.de/t/filename-tag-assign-same-value-to-multiple-tags/13234/4 "2012-03-18T19:57:56Z")

</div>

> [@ohrenkino](#):
>
> No.  
> But you could create an action group that consists of 2 actions: one to import data from \_directory so that some part ends up in ARTIST.  
> You can then copy the contents of ARTIST into ALBUMARTIST with the next action of the type "Format tag field" for ALBUMARTIST and the format string %artist%.  
> The process will feel as one action, though.

To get all the tags, that would still be in addition to the use of the Filename - Tag function though, correct? Or are you saying to create an action that parses the entire path and filename thereby duplicating the Filename - Tag function?

---

<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 19, 2012, 5:22am UTC](https://community.mp3tag.de/t/filename-tag-assign-same-value-to-multiple-tags/13234/5 "2012-03-19T05:22:51Z")

</div>

> [@redstang](#):
>
> To get all the tags, that would still be in addition to the use of the Filename - Tag function though, correct? Or are you saying to create an action that parses the entire path and filename thereby duplicating the Filename - Tag function?

Either way.  
If you have already run the Converter and ARTIST is filled then it is sufficienct to apply only the action that copies the contents of ARTIST into the field ALBUMARTIST.

If you have not yet filled ARTIST but want to fill the two fields with one mouse-click then you need the action group with the two actions (extract, then copy) in which the extraction-action sort of re-enacts the converter.
