# Replace Tags from other Tags

**URL:** https://community.mp3tag.de/t/replace-tags-from-other-tags/12893
**Category:** Support
**Created:** [January 3, 2012, 11:35am UTC](https://community.mp3tag.de/t/replace-tags-from-other-tags/12893 "2012-01-03T11:35:55Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![thorsonb](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/e9a140/32.png) [@thorsonb](https://community.mp3tag.de/u/thorsonb)
#### Post date: [January 3, 2012, 11:35am UTC](https://community.mp3tag.de/t/replace-tags-from-other-tags/12893/1 "2012-01-03T11:35:55Z")

</div>

I got some music files that are a bit messed up.

Rating to be specific.

I use another program called [MediaMonkey](http://www.mediamonkey.com)to rate my music.

Rating for MP3 songs are written to the " **RATING MM**" Tag, but the FLAC files ratings are written to the " **RATING**"..

In the RATING MM field, they use figures 0 - 5 (with increments of 0.5 for half a star rating)  
In the RATING field they use 0 - 100 (with increments of 10 for half a star rating)

I want to have Mp3Tag convert and have the rating in both fields

**P.s. What tag does iTunes read for music ratings? I would love to have them written so iTunes can see my ratings from other programs.**

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [January 3, 2012, 8:42pm UTC](https://community.mp3tag.de/t/replace-tags-from-other-tags/12893/2 "2012-01-03T20:42:06Z")

</div>

> [@ThorsonB](#):
>
> In the RATING MM field, they use figures 0 - 5 (with increments of 0.5 for half a star rating)  
> In the RATING field they use 0 - 100 (with increments of 10 for half a star rating)

What i would do is create a group action called RATING MM to RATING CONVERSION and vice-versa.  
To do this create and action to format the RATING with the RATING MM value, then change that value e.g. 0.5 to 10 and so on...

E.G.

Action #1  
action type: format  
format: RATING  
value: %rating\_mm% (check this)

Action #2  
action type: replace  
field: RATING MM  
replace: 0.5  
with: 10

Action #3  
action type: replace  
field: RATING MM  
replace: 1.0  
with: 20

Action #4  
action type: replace  
field: RATING MM  
replace: 1.5  
with: 30

Continue to do this with RATING MM values from 2.0 to 5.0.

I hope this works. I'm on my phone ATM so havent had a chance to test this.

If it does then repeat a similar process called 'RATING to RATING MM CONVERSION'

> [@ThorsonB](#):
>
> **P.s. What tag does iTunes read for music ratings? I would love to have them written so iTunes can see my ratings from other programs.**

It stores it in the itunes 'Library.xml' file. I noticed to my despair before transfering songs which had there stars shown that they no longer had them on a newly formated HD. But there is ways round that by keeping the same root drive and folder structure for your tunes and then loading the pre saved .xml into itunes.

But I decided instead to simply put the rating 0-6 (6 for bangers 🙂 in the COMMENT tag. That way every programme can see it. An e.g. of my COMMENT tag would be '5 - 2A' So the '5' is the rating and the '2A' is the key of the song. Put this with itunes smartlist and BOOM a very organised collection. 🙂

---

<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: [January 4, 2012, 8:42am UTC](https://community.mp3tag.de/t/replace-tags-from-other-tags/12893/3 "2012-01-04T08:42:30Z")

</div>

> [@stevehero](#):
>
> What i would do is create a group action called RATING MM to RATING CONVERSION and vice-versa.  
> To do this create and action to format the RATING with the RATING MM value, then change that value e.g. 0.5 to 10 and so on...

It looks to me as though you simply would have to multiply RATING with 20  
So you could do it in one go if you only use whole numbers (no decimals):  
Format tag %rating mm%  
$mul(%rating%,20)

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [January 4, 2012, 11:22am UTC](https://community.mp3tag.de/t/replace-tags-from-other-tags/12893/4 "2012-01-04T11:22:33Z")

</div>

> [@ohrenkino](#):
>
> So you could do it in one go if you only use whole numbers (no decimals):  
> Format tag %rating mm%  
> $mul(%rating%,20)

But there always is that slight possiblilty that he might want to use .5 increments in the RATING MM field.

It wont take to long to set this up. Create action #1. Create action #2, while still selected hit dupilate 10 times and change the value on each to suit.

---

<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: [January 4, 2012, 1:28pm UTC](https://community.mp3tag.de/t/replace-tags-from-other-tags/12893/5 "2012-01-04T13:28:04Z")

</div>

> [@stevehero](#):
>
> But there always is that slight possiblilty that he might want to use .5 increments in the RATING MM field.
> 
> It wont take to long to set this up. Create action #1. Create action #2, while still selected hit dupilate 10 times and change the value on each to suit.

I just learnt something new:  
If you remove the decimal separator (which sort of multiplies the value with 10) and then multiply the value with 2 you have it in one go for all values:

$mul($replace(%rating%,'.',),2)

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [January 4, 2012, 1:46pm UTC](https://community.mp3tag.de/t/replace-tags-from-other-tags/12893/6 "2012-01-04T13:46:05Z")

</div>

> [@ohrenkino](#):
>
> I just learnt something new:  
> If you remove the decimal separator (which sort of multiplies the value with 10) and then multiply the value with 2 you have it in one go for all values:
> 
> $mul($replace(%rating%,'.',),2)

Happy days. Great comeback 😉

This programme just gets better and better. That might be very usefull sometime.

---

<div class="post-metadata">

### Author: ![thorsonb](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/e9a140/32.png) [@thorsonb](https://community.mp3tag.de/u/thorsonb)
#### Post date: [January 21, 2012, 3:21pm UTC](https://community.mp3tag.de/t/replace-tags-from-other-tags/12893/7 "2012-01-21T15:21:58Z")

</div>

LATE reply, now gonna attempt to do this.

Was on "vacation" with the kids......  
Now back to hoarding music on my computer.

---

<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:23pm UTC](https://community.mp3tag.de/t/replace-tags-from-other-tags/12893/8 "2026-02-09T12:23:33Z")

</div>


