# Adding a Custom Action

**URL:** <https://community.mp3tag.de/t/adding-a-custom-action/15037>\
**Category:** Support\
**Created:** [September 14, 2013, 7:53pm UTC](https://community.mp3tag.de/t/adding-a-custom-action/15037 "2013-09-14T19:53:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chevellejnj72](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/7bcc69/32.png) [@chevellejnj72](https://community.mp3tag.de/u/chevellejnj72)\
**Post date:** [September 14, 2013, 7:53pm UTC](https://community.mp3tag.de/t/adding-a-custom-action/15037/1 "2013-09-14T19:53:45Z")

</div>

Hey MP3Tag Forum!

I wrote a post WAY WAY in the past and cannot seem to find it even under my posts. I was hoping the fourm could help me write 3 custom actions once more.

- TrackNumber - TrackTitle - AlbumArtist - Album
- TrackNumber-TrackTitle-Artist
- Switch Artist for Album Artist and Vice Verse

Thanks in advanced!  
Rich

---

<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:** [September 15, 2013, 5:09am UTC](https://community.mp3tag.de/t/adding-a-custom-action/15037/2 "2013-09-15T05:09:59Z")

</div>

you have to be a little more specific regarding the purpose of these topics in the list.  
The first two look to me as though you either want to import from or export to a filename. (See Convert functions for that)  
Do you really want to have two formats with "hyphen only" as separator and with "blank hyphen blank" the other?  
Do you need an action or is the converter good enough (has a preview, the action hasn't)

The last looks like an action group to me.  
In general:  
Format value temp\_albumartist with %albumartist%  
Format value %albumartist% with %artist%  
Format value %artist% with %temp\_albumartist%  
Delete field %temp\_albumartist%

---

<div class="post-metadata">

**Author:** ![chevellejnj72](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/7bcc69/32.png) [@chevellejnj72](https://community.mp3tag.de/u/chevellejnj72)\
**Post date:** [September 17, 2013, 1:44am UTC](https://community.mp3tag.de/t/adding-a-custom-action/15037/3 "2013-09-17T01:44:35Z")

</div>

Sorry for not explaining myself better. I did intentionally want one with blank hyphen blank and just one with hyphen. The first two actions would be to rename the files. So if the filename is Aerosmith - Rock On, I want an action to change it to 01 - Rock On - Aerosmith. Hopefully that makes more sense. I will take a look but I used to have an action that converted this file name into my desired format, not the convert menu. I will give your suggestion for the last bullet point a test and see.

Thanks!

---

<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:** [September 17, 2013, 3:40am UTC](https://community.mp3tag.de/t/adding-a-custom-action/15037/4 "2013-09-17T03:40:13Z")

</div>

> [@Rich A](#):
>
> ... I used to have an action that converted this file name into my desired format...
> 
> Thanks!

create an action of the type "Format value" for \_FILENAME  
Enter as format string:  
%track% - %title% - %albumartist% - %Album%

Something similiar applies to the other format. I bet you can put together the format string yourself now.

---

<div class="post-metadata">

**Author:** ![chevellejnj72](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/7bcc69/32.png) [@chevellejnj72](https://community.mp3tag.de/u/chevellejnj72)\
**Post date:** [September 17, 2013, 3:34pm UTC](https://community.mp3tag.de/t/adding-a-custom-action/15037/5 "2013-09-17T15:34:41Z")

</div>

> [@ohrenkino](#):
>
> %track% - %title% - %albumartist% - %Album%

Well that a bit embarrassing...I really don't recall it being that easy! lol well thanks! ill try it tonight

---

<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:24pm UTC](https://community.mp3tag.de/t/adding-a-custom-action/15037/6 "2026-02-09T12:24:39Z")

</div>

Closed on February 9, 2026, 12:24pm UTC


