# Multiple Actions need to be done, please help :D

**URL:** https://community.mp3tag.de/t/multiple-actions-need-to-be-done-please-help-d/11601
**Category:** Support
**Created:** [February 17, 2011, 6:40am UTC](https://community.mp3tag.de/t/multiple-actions-need-to-be-done-please-help-d/11601 "2011-02-17T06:40:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![dspcut](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/4bbf92/32.png) [@dspcut](https://community.mp3tag.de/u/dspcut)
#### Post date: [February 17, 2011, 6:40am UTC](https://community.mp3tag.de/t/multiple-actions-need-to-be-done-please-help-d/11601/1 "2011-02-17T06:40:28Z")

</div>

First of all, let me introduce myself. i'm cut from Indonesia. so sorry if my english is not too good 😃

i've been used mp3tag 3 years until now. and its very useful. i think its the best software to organize my song collections.

Until yesterday, since i read many threads from this forum. i just realized that so many things that mp3tag could do more for me to make my life easier. but i just don't know yet how to do all of that. i'm trying to understand scripting from reading this forum and help contents. but maybe i'm not to good in this thing.

ok skip the prolog. ive been wondering is it posibble to do few things.

1. i have a custom action that make my artist name to be albumartist automatically.

formatvalue \>\> albumartist  
format string \>\> %artist%

but when i add it to iTunes i have to delete albumartist just to songs in compilation album. so when it creates folder its more organized.

so ive been trying to automatically delete albumartist just for the compilation album (which is compilation:1) without delete the other albumartist. with this action, but doesnt work:

action type: format value  
field : %albumartist%  
format string : $if(%compilation%,$replace(%albumartist%,(._),),($replace(%albumartist%,(._),%artist%)))

actually i dont really know what is (.\*) mean, but i'm just trying from what i feel right 😃

1. The second is is it possible to format the grouping field automatically to something like BR if my bitrate's song is under 128 Kbps.

I want to make it like this.

Name : Hackensack.mp3  
bitrate : 96Kbps  
Group : BR  
so mp3tag will auto recognize my files and just give the group BR for the under standard bitrate songs. 😃

I'm sorry if my english is too abstract. ![:unsure:](https://community.mp3tag.de/uploads/default/original/1X/cfaeba84fe6704387c5b34dfdd8172bd51b6f533.gif ":unsure:")  
Please help 😃  
thank you

Note : i dont know if its true or not. but i think SUBTITLE in mp3tag is same with Description in iTunes.

---

<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: [February 17, 2011, 11:07am UTC](https://community.mp3tag.de/t/multiple-actions-need-to-be-done-please-help-d/11601/2 "2011-02-17T11:07:49Z")

</div>

> [@dspcut](#):
>
> but when i add it to iTunes i have to delete albumartist just to songs in compilation album. so when it creates folder its more organized.
> 
> so ive been trying to automatically delete albumartist just for the compilation album (which is compilation:1) without delete the other albumartist. with this action, but doesnt work:
> 
> action type: format value  
> field : %albumartist%  
> format string : $if(%compilation%,$replace(%albumartist%,(._),),($replace(%albumartist%,(._),%artist%)))
> 
> actually i dont really know what is (.\*) mean, but i'm just trying from what i feel right 😃

. means any character

- means reapeated any number of times or zero  
.\* in comibnation without other characters is just everything from begin to end.  
() would be for reference if you to use the text inside. it's not necessary here  
[https://docs.mp3tag.de/actions/replace-regexp](https://docs.mp3tag.de/actions/replace-regexp)

you have to use $regexp instead of $replace here  
[https://docs.mp3tag.de/scripting](https://docs.mp3tag.de/scripting)

your string:  
$if(%compilation%,$repgexp(%albumartist%,._,),($regexp(%albumartist%,._,%artist%)))

you have additional parentheses () in your string from which i don't know if they are deliberate. they put the artist name in parenthesis if it is no compilation.

I wonder why you want to delete ALBUMARTIST for compilation. They are very usefull there and as far as I know itunes can deal with them.

> [@dspcut](#):
>
> 1. The second is is it possible to format the grouping field automatically to something like BR if my bitrate's song is under 128 Kbps.
> 
> I want to make it like this.
> 
> Name : Hackensack.mp3  
> bitrate : 96Kbps  
> Group : BR  
> so mp3tag will auto recognize my files and just give the group BR for the under standard bitrate songs. 😃

Action: Format Value  
Field: GROUP  
Formatstring: $ifgreater(%\_bitrate%,127,%group%,BR)

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [February 17, 2011, 11:52am UTC](https://community.mp3tag.de/t/multiple-actions-need-to-be-done-please-help-d/11601/3 "2011-02-17T11:52:34Z")

</div>

You don't need regex here. This should do it:

Format string: $if(%compilation%,,%artist%)

---

<div class="post-metadata">

### Author: ![dspcut](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/4bbf92/32.png) [@dspcut](https://community.mp3tag.de/u/dspcut)
#### Post date: [February 17, 2011, 1:17pm UTC](https://community.mp3tag.de/t/multiple-actions-need-to-be-done-please-help-d/11601/4 "2011-02-17T13:17:23Z")

</div>

> [@pone](#):
>
> I wonder why you want to delete ALBUMARTIST for compilation. They are very usefull there and as far as I know itunes can deal with them.
> 
> Action: Format Value  
> Field: GROUP  
> Formatstring: $ifgreater(%\_bitrate%,127,%group%,BR)

> [@dano](#):
>
> You don't need regex here. This should do it:
> 
> Format string: $if(%compilation%,,%artist%)

Thank you very much pone and dano, it works great 😃

its very useful for me. i appreciate it ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

i want to delete my ALBUMARTIST because i'm using iTunes to create folder automatically when i add any songs into library. And when ALBUMARTIST still there iTunes will create folder based on the name of ALBUMARTIST. what i want is album compilation with various artist in one folder. so i want to delete it 😃

---

<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: [February 17, 2011, 3:41pm UTC](https://community.mp3tag.de/t/multiple-actions-need-to-be-done-please-help-d/11601/5 "2011-02-17T15:41:01Z")

</div>

> [@dspcut](#):
>
> what i want is album compilation with various artist in one folder

so why don't you call the %albumartist% "various artists"?  
but you can do that as you like, of course.  
glad to help you.

---

<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:22pm UTC](https://community.mp3tag.de/t/multiple-actions-need-to-be-done-please-help-d/11601/6 "2026-02-09T12:22:55Z")

</div>


