# Replacing empty album artist fields

**URL:** https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137
**Category:** Support
**Created:** [July 18, 2025, 1:32pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137 "2025-07-18T13:32:38Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![SteadySnoozin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SteadySnoozin](https://community.mp3tag.de/u/SteadySnoozin)
#### Post date: [July 18, 2025, 1:32pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/1 "2025-07-18T13:32:38Z")

</div>

Hey guys,

I have a pretty straightforward question: I want to create an Action that automatically replaces all the **empty Album Artist fields** with the Album Artist **Various Artists** as I've been doing this manually quite often when adding new music to my music library.

I've already tried a bunch of different things like adding a **Replace** Action that has the the Original Album Artist field set to \< empty \>, "" or " " but none of them seem to work so far, so I would greatly appreciate if someone could help me out here.

Thanks in advance!

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [July 18, 2025, 1:52pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/2 "2025-07-18T13:52:22Z")

</div>

One solution without need to write an Action:

I would load all tracks in Mp3tag.  
Then sort by the column ALBUMARTIST.  
Then select all the entries with empty ALBUMARTIST.  
Then enter "Various Artists" in the left Tag Panel field ALBUMARTIST.  
Save the change.  
Done.

Please let us know if you really need an Action for this task.

---

<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: [July 18, 2025, 1:58pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/3 "2025-07-18T13:58:42Z")

</div>

> [@SteadySnoozin](#):
>
> I want to create an Action that automatically replaces all the **empty Album Artist fields** with the Album Artist **Various Artists**

As there are no empty fields - fields without data simply don't exist - you have to create a new field of the required type and contents.  
Create an action of the type "Format value" for ALBUMARTIST  
Format string: `Various Artists`

---

<div class="post-metadata">

### Author: ![SteadySnoozin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SteadySnoozin](https://community.mp3tag.de/u/SteadySnoozin)
#### Post date: [July 18, 2025, 2:01pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/4 "2025-07-18T14:01:36Z")

</div>

Ah gotcha, but I'm guessing this replaces **ALL** album artists fields with Various Artists even if they are NOT empty to begin with?

---

<div class="post-metadata">

### Author: ![SteadySnoozin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SteadySnoozin](https://community.mp3tag.de/u/SteadySnoozin)
#### Post date: [July 18, 2025, 2:03pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/5 "2025-07-18T14:03:17Z")

</div>

Yeah this is what I've been doing so far actually, either in mp3tag or just in iTunes with all the tracks selected, so having an Action to automate this process would save me a lot of time.

---

<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: [July 18, 2025, 2:06pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/6 "2025-07-18T14:06:17Z")

</div>

> [@SteadySnoozin](#):
>
> but I'm guessing this replaces **ALL** album artists fields with Various Artists

Indeed. I am no friend of blindly allegedly automatic manipulations of data.  
Still, you may modify the  
Format string: `$if2(%albumartist%,Various Artists)`  
to leave existing values as they are.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [July 18, 2025, 2:09pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/7 "2025-07-18T14:09:39Z")

</div>

> [@ohrenkino](#):
>
> Format string: `$if2(%albumartist%,Various Artists)`

From the documentation about [boolean functions](https://docs.mp3tag.de/scripting/#boolean-functions):  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/3/f/3f139003d983d1bd2830c53558262e6407a5252a.png)  
means  
"If the field ALBUMARTIST is not empty, then use the current content of ALBUMARTIST. Otherwise use the fixed string **Various Artists**"

---

<div class="post-metadata">

### Author: ![SteadySnoozin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SteadySnoozin](https://community.mp3tag.de/u/SteadySnoozin)
#### Post date: [July 18, 2025, 2:10pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/8 "2025-07-18T14:10:27Z")

</div>

So then if I combine that with your original Format value, it would only change the album artist fields of the tracks that are empty, right? Cause that's exactly what I need.

---

<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: [July 18, 2025, 2:11pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/9 "2025-07-18T14:11:13Z")

</div>

> [@SteadySnoozin](#):
>
> if I combine that with your original Format value

No, you use the second suggestion instead of the first.

More on the contents side:  
"Various Artists" is usually the dummy name for the album artist in compilations. This would also imply that the data in ALBUM ist the same for at least 2 files.  
IMHO, it could just as well be that a track is a single and the ARTIST and ALBUMARTIST should be the same.  
So a non-existant ALBUMARTIST does not necessarily mean that it should be "Various Artists".

---

<div class="post-metadata">

### Author: ![SteadySnoozin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SteadySnoozin](https://community.mp3tag.de/u/SteadySnoozin)
#### Post date: [July 18, 2025, 2:14pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/10 "2025-07-18T14:14:11Z")

</div>

That did the trick!! Thanks so much for your help, LyricsLover 😄

---

<div class="post-metadata">

### Author: ![SteadySnoozin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SteadySnoozin](https://community.mp3tag.de/u/SteadySnoozin)
#### Post date: [July 18, 2025, 2:15pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/11 "2025-07-18T14:15:01Z")

</div>

Ah I misunderstood, but got it anyway! Thanks for your help, ohrenkino! 😁

---

<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: [July 18, 2025, 2:23pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/12 "2025-07-18T14:23:13Z")

</div>

And which suggestion was your favoured solution?  
Please tick the corresponding post.

---

<div class="post-metadata">

### Author: ![SteadySnoozin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@SteadySnoozin](https://community.mp3tag.de/u/SteadySnoozin)
#### Post date: [July 18, 2025, 2:53pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/13 "2025-07-18T14:53:10Z")

</div>

Done!

And yeah, I mainly use VA as the Album Artist for either existing EDM compilations with several different producers, or for grouping a large number of singles together in a compilation of my own so I don’t end up with a billion albums with just 1 single in my iTunes library.

But in both cases I always use VA as the album artist so it’s really nice I can automate it now!

---

<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: [August 17, 2025, 2:53pm UTC](https://community.mp3tag.de/t/replacing-empty-album-artist-fields/69137/14 "2025-08-17T14:53:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
