# Add to a tag field based on file properties

**URL:** https://community.mp3tag.de/t/add-to-a-tag-field-based-on-file-properties/11715
**Category:** Support
**Created:** [March 14, 2011, 6:20pm UTC](https://community.mp3tag.de/t/add-to-a-tag-field-based-on-file-properties/11715 "2011-03-14T18:20:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ganjaman](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/bbe5ce/32.png) [@ganjaman](https://community.mp3tag.de/u/ganjaman)
#### Post date: [March 14, 2011, 6:20pm UTC](https://community.mp3tag.de/t/add-to-a-tag-field-based-on-file-properties/11715/1 "2011-03-14T18:20:42Z")

</div>

Hey!

Sorry if this, or a similar question, has been asked before, but I could not find anything ![:book:](https://community.mp3tag.de/uploads/default/original/1X/0036d5b68f6226c53f6c68abfd0a7b8096fd4505.gif ":book:") or work out how to do it using an Action.

I am looking to add something (i.e. "Low Quality") in the comments field if the bitrate = x (i.e. 128)

Is there a way to do this?

Peace ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")

---

<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: [March 14, 2011, 6:38pm UTC](https://community.mp3tag.de/t/add-to-a-tag-field-based-on-file-properties/11715/2 "2011-03-14T18:38:58Z")

</div>

> [@ganjaman](#):
>
> I am looking to add something (i.e. "Low Quality") in the comments field if the bitrate = x (i.e. 128)

"Low Quality" if bitrate is **128 or less** :  
Action: Format Value  
Field: COMMENT  
Formatstring: **$ifgreater(129,%\_bitrate%,Low Quality,%comment%)**

"Low Quality" if bitrate is **exact 128** :  
Action: Format Value  
Field: COMMENT  
Formatstring: **$if($eql(128,%\_bitrate%),Low Quality,%comment%)**

---

<div class="post-metadata">

### Author: ![ganjaman](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/bbe5ce/32.png) [@ganjaman](https://community.mp3tag.de/u/ganjaman)
#### Post date: [March 15, 2011, 8:14pm UTC](https://community.mp3tag.de/t/add-to-a-tag-field-based-on-file-properties/11715/3 "2011-03-15T20:14:12Z")

</div>

I knew it'd be possible. What a great piece of software 🙂

Thanks a lot 😃

---

<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/add-to-a-tag-field-based-on-file-properties/11715/4 "2026-02-09T12:22:58Z")

</div>


