# Empty tag-field in "FLAC / Vorbis Comment" tag?

**URL:** https://community.mp3tag.de/t/empty-tag-field-in-flac-vorbis-comment-tag/15332
**Category:** Off-Topic
**Created:** [December 27, 2013, 5:40pm UTC](https://community.mp3tag.de/t/empty-tag-field-in-flac-vorbis-comment-tag/15332 "2013-12-27T17:40:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [December 27, 2013, 5:40pm UTC](https://community.mp3tag.de/t/empty-tag-field-in-flac-vorbis-comment-tag/15332/1 "2013-12-27T17:40:29Z")

</div>

I have a simple question about the FLAC / Vorbis Comment tag.

Is it allowed that a "FLAC / Vorbis Comment" contains a tag field, which is empty?  
In German: Ist es erlaubt, dass ein "FLAC / Vorbis Comment" ein Tagfeld enthält, was leer ist?

I have to ask because there is a FLAC file, which contains four tag-fields ...  
ITEM1=""  
ITEM2="B"  
ITEM3="C"  
ITEM4=""  
... after applying the M3tag action "Import tag-fields (guess values)".

The four tag-fields have been created by the action "Import tag-fields (guess values)" using ...  
Source string: " ~~~B~~~ C~~~"  
Mask string: "%ITEM1% ~~~%ITEM2%~~~ %ITEM3%~~~%ITEM4%"  
(without the quotation marks).

I am surprised because it works differently than the MP3 tag.

When I open the dialog "Extend Tags..." and remove one of the two empty tag-fields, then both empty tag-fields will be removed at once.

It looks like a buggy behaviour in Mp3tag, but I am not sure because I do not know how Mp3tag works with the tags internally for MP3 and FLAC.

DD.20131227.1940.CET

---

<div class="post-metadata">

### Author: ![Nature](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/a587f6/32.png) [@Nature](https://community.mp3tag.de/u/Nature)
#### Post date: [September 1, 2014, 11:21am UTC](https://community.mp3tag.de/t/empty-tag-field-in-flac-vorbis-comment-tag/15332/2 "2014-09-01T11:21:24Z")

</div>

> [@DetlevD](#):
>
> I have a simple question about the FLAC / Vorbis Comment tag.
> 
> Is it allowed that a "FLAC / Vorbis Comment" contains a tag field, which is empty?
> 
> It looks like a buggy behaviour in Mp3tag, but I am not sure because I do not know how Mp3tag works with the tags internally for MP3 and FLAC.

Hi! What a coincidence!  
I was just about to report this very same bug. In my opinion it is clearly a bug, because the behaviour of leaving blank fields only happens when you use the _Guess Values_ Type Action.  
If you use the _Format_ Type Action, it doesn't happen and this is very annoying actually.

I just found out that on My Natural Case Format Actions, and I'll have to find a turn around. But it won't be easy, because that means using extra commands or checking each field individually which completely ruins the purpose (simplicity and efficiency) of a _Guess Values_ Type Action. ☹

I think this thread should move to the But Section so that Florian can see it. 🙂  
I'm just about to report another bug, and I'll mention this thread. 😉

---

<div class="post-metadata">

### Author: ![aax](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/edb3f5/32.png) [@aax](https://community.mp3tag.de/u/aax)
#### Post date: [April 16, 2017, 10:26pm UTC](https://community.mp3tag.de/t/empty-tag-field-in-flac-vorbis-comment-tag/15332/3 "2017-04-16T22:26:08Z")

</div>

This still hasn't been solved, so I was wondering if there's some workaround for deleting blank tags that can be done in an action group?

---

<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: [April 18, 2017, 1:31pm UTC](https://community.mp3tag.de/t/empty-tag-field-in-flac-vorbis-comment-tag/15332/4 "2017-04-18T13:31:22Z")

</div>

Is sufficient to save the files once again after the action.  
Then the empty tag-fields are deleted.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [April 21, 2017, 1:01pm UTC](https://community.mp3tag.de/t/empty-tag-field-in-flac-vorbis-comment-tag/15332/5 "2017-04-21T13:01:23Z")

</div>

This has been fixed with the current Development Build [Mp3tag v2.81c](http://developer.mp3tag.de).

Kind regards  
– Florian
