# Combine parts of tags into another

**URL:** <https://community.mp3tag.de/t/combine-parts-of-tags-into-another/41622>\
**Category:** Support\
**Created:** [May 6, 2018, 2:49am UTC](https://community.mp3tag.de/t/combine-parts-of-tags-into-another/41622 "2018-05-06T02:49:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeWWW](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mikewww/32/5179_2.png) [@MikeWWW](https://community.mp3tag.de/u/MikeWWW)\
**Post date:** [May 6, 2018, 2:49am UTC](https://community.mp3tag.de/t/combine-parts-of-tags-into-another/41622/1 "2018-05-06T02:49:15Z")

</div>

For classical music collections, I prefix each title with the capitalised surname of the composer.  
I store each composer in the format "Surname, Firstname etc"

In order to do this right now, I do the following

1. Replace TITLE with $upper(%composer%) - %title%
2. Filename is set to %track% %title%
3. Use Filename converter as  
OLD: %1 %2,%3 - %4  
NEW: %2 %4
4. Split the Filename to track and title

Example: Track #3 Title "Moonlight Sonata", Composer "Beethoven, Ludwig van"

1. TITLE -\> BEETHOVEN, LUDWIG VAN - Moonlight Sonata
2. FILENAME -\> 03 BEETHOVEN, LUDWIG VAN - Moonlight Sonata
3. Filename-\> 03 BEETHOVEN Moonlight Sonata  
4.TITLE -\> BEETHOVEN Moonlight Sonata

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [May 6, 2018, 4:54am UTC](https://community.mp3tag.de/t/combine-parts-of-tags-into-another/41622/2 "2018-05-06T04:54:00Z")

</div>

And what do you do with the different "Bachs" and "Mozarts"?

Anyway, you could use a separate tag-field (ie. selfdefined) for your short form of the composer. There is also an official tag-field called COMPOSERSORT.

That at least would it make unnecessary to mingle with the filename.  
All could be done with 1 action group:

Action: Guess Values  
Source: `%composer%`  
Formatstring: `%composersort%, %dummy%`

Action: Format Value  
Field: TITLE  
Formatstring: `$upper(%composersort%) - %title%`

Action: Format Value  
Field: \_FILENAME  
Formatstring: `%track% %title%`

---

<div class="post-metadata">

**Author:** ![MikeWWW](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mikewww/32/5179_2.png) [@MikeWWW](https://community.mp3tag.de/u/MikeWWW)\
**Post date:** [May 6, 2018, 5:10am UTC](https://community.mp3tag.de/t/combine-parts-of-tags-into-another/41622/3 "2018-05-06T05:10:37Z")

</div>

Thank you

I generally do something like BACH.CPE, MOZART.L or SCARLATTI.A for the "lesser of that name".

---

<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:27pm UTC](https://community.mp3tag.de/t/combine-parts-of-tags-into-another/41622/4 "2026-02-09T12:27:25Z")

</div>


