# Convert RATING tag in characters and copy

**URL:** <https://community.mp3tag.de/t/convert-rating-tag-in-characters-and-copy/58221>\
**Category:** Support\
**Created:** [August 17, 2022, 10:24pm UTC](https://community.mp3tag.de/t/convert-rating-tag-in-characters-and-copy/58221 "2022-08-17T22:24:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DJ-AS](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dj-as/32/12083_2.png) [@DJ-AS](https://community.mp3tag.de/u/DJ-AS)\
**Post date:** [August 17, 2022, 10:24pm UTC](https://community.mp3tag.de/t/convert-rating-tag-in-characters-and-copy/58221/1 "2022-08-17T22:24:00Z")

</div>

Hi! I need convert (via Actions) the data of field RATING into a character and write this into the field LABEL.  
I rating my music whit AIMP (my fav player) but I realize that AIMP write the field RATING from 0 to 5 but FB2K read that field different if is a MP3 file or a FLAC file (maybe other soft too).  
MP3: 0, 1, 2, 3, 4, 5  
FLAC: 0, 20, 40, 60, 80, 100  
So, how I do to an "Action" (or script) make this:  
FIELD RATING | FIELD LABEL  
5 or 100.........................●●●●●  
4 or 80.............................●●●●  
3 or 60...............................●●●  
2 or 40.................................●●  
1 or 20...................................●

I hope you understand my question, my English is very bad.  
Thanks in advance.

---

<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:** [August 18, 2022, 5:52am UTC](https://community.mp3tag.de/t/convert-rating-tag-in-characters-and-copy/58221/2 "2022-08-18T05:52:17Z")

</div>

> [@DJ-AS](#):
>
> FIELD RATING | FIELD LABEL  
> 5 or 100.........................●●●●●  
> 4 or 80.............................●●●●  
> 3 or 60...............................●●●  
> 2 or 40.................................●●  
> 1 or 20...................................●

Create an action of the type "Format value" for LABEL (as this is a user-defined field, you probably have to type it in)  
for the values 1 to 5 use  
format string: $repeat(●,%rating%)

For the values 20 to 100 use  
Format string: $replace(%rating%,20,●,40,●●,60,●●●,80,●●●●,100,●●●●●)

As you need 2 of these, I would take care first to get unified values in RATING.  
Also, I wonder if RATING is the correct name or whether this should not be POPULARIMETER. As that field has a specified format, It would be interesting to see the real values.

---

<div class="post-metadata">

**Author:** ![DJ-AS](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dj-as/32/12083_2.png) [@DJ-AS](https://community.mp3tag.de/u/DJ-AS)\
**Post date:** [August 18, 2022, 2:29pm UTC](https://community.mp3tag.de/t/convert-rating-tag-in-characters-and-copy/58221/3 "2022-08-18T14:29:16Z")

</div>

Thanks a lot ohrenkino! I'll will try with tag field POPULARIMETER to see what's what's happens.  
Thanks again!

---

<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:29pm UTC](https://community.mp3tag.de/t/convert-rating-tag-in-characters-and-copy/58221/4 "2026-02-09T12:29:53Z")

</div>


