# Show Traktor ratings as stars in comment field

**URL:** https://community.mp3tag.de/t/show-traktor-ratings-as-stars-in-comment-field/17667
**Category:** Support
**Created:** [February 20, 2016, 6:30pm UTC](https://community.mp3tag.de/t/show-traktor-ratings-as-stars-in-comment-field/17667 "2016-02-20T18:30:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![pledge](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/7c8e57/32.png) [@pledge](https://community.mp3tag.de/u/pledge)
#### Post date: [February 20, 2016, 6:30pm UTC](https://community.mp3tag.de/t/show-traktor-ratings-as-stars-in-comment-field/17667/1 "2016-02-20T18:30:42Z")

</div>

Hello there,

I read a lot in the forum, but until now i did not find an answer and I'm not familiar with scripting language.  
I rated all my music with tractor, but also like to use other DJ-software, like mixxx.  
No I recognized, that the rating of traktor is only shown in traktor.  
Traktor writes a field called "POLULARITY" and uses a special code for the rating:  
traktor@native-instruments.de|xxx|yyy

xxx is for the rating and yyy for a playcount.  
The values of xxx are fixed to:

0 = no value  
51 = 1 star  
102= 2 stars  
153= 3 stars  
204= 4 stars  
255= 5 stars

In order to use the ratings in both softwares, I would initially like to translate the Traktor rating into stars, that are shown in the comments field.

I would like an action like:  
If POLARITY=traktor@native-instruments.de|51|_, than write "_" (one star) into the comments field.

Does anyone have any ideas?

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: [February 20, 2016, 7:31pm UTC](https://community.mp3tag.de/t/show-traktor-ratings-as-stars-in-comment-field/17667/2 "2016-02-20T19:31:50Z")

</div>

> [@pledge](#):
>
> ..."POLULARITY" ...
> 
> 0 = no value  
> 51 = 1 star  
> 102= 2 stars  
> 153= 3 stars  
> 204= 4 stars  
> 255= 5 stars
> 
> ... POLARITY=traktor@native-instruments.de|51|\*...  
> Thanks in advance.

I think the field is called POPULARIMETER.  
You find a list of fields in the help: [https://docs.mp3tag.de/mapping](https://docs.mp3tag.de/mapping)

You can create an action of the type Format value for COMMENT  
Format string: $replace(%popularimeter%,'traktor@native-instruments.de|51','\*')

and similar ones for the other values.

Check if the replay counter is really set.

---

<div class="post-metadata">

### Author: ![pledge](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/7c8e57/32.png) [@pledge](https://community.mp3tag.de/u/pledge)
#### Post date: [February 21, 2016, 10:50am UTC](https://community.mp3tag.de/t/show-traktor-ratings-as-stars-in-comment-field/17667/3 "2016-02-21T10:50:20Z")

</div>

> [@ohrenkino](#):
>
> I think the field is called POPULARIMETER.  
> ...  
> You can create an action of the type Format value for COMMENT  
> Format string: $replace(%popularimeter%,'traktor@native-instruments.de|51','\*')  
> ...  
> Check if the replay counter is really set.

Yes your were right! It's called POPULARIMETER and replay counter is always 0.

Therefore I tried the following, that worked perfectly:  
$replace(%popularimeter%,'traktor@native-instruments.de|51|0','\*')

In order to edit all tags, I created an actiongroup with 5 single actions, each with type Format value for COMMENT, but the following format strings:

$replace(%popularimeter%,'traktor@native-instruments.de|51|0','_')  
$replace(%popularimeter%,'traktor@native-instruments.de|102|0','**')  
$replace(%popularimeter%,'traktor@native-instruments.de|153|0','**_')  
$replace(%popularimeter%,'traktor@native-instruments.de|204|0','\*\*\*\*')  
$replace(%popularimeter%,'traktor@native-instruments.de|255|0','\*\*\*\*\*')

But as result, I get the value traktor@native-instruments.de|102|0 in comments instead of \*\*.

Alternatively I tried to include popularity in the MP3tag-browser in order to sort the mp3s and oly make the single action with the corresponding mp3s. But in the browser there are only empty values :-(.

Any ideas, how i can correct the action group or alternatively get the values into the browser?

---

<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: [February 21, 2016, 12:07pm UTC](https://community.mp3tag.de/t/show-traktor-ratings-as-stars-in-comment-field/17667/4 "2016-02-21T12:07:32Z")

</div>

> [@pledge](#):
>
> ... I rated all my music with tractor, ... Traktor ... uses a special code for the rating... I would initially like to translate the Traktor rating into stars, that are shown in the comments field. ...

Find there something useful ...  
[https://www.google.de/search?q=site%3Aforum...d+popularimeter](https://www.google.de/search?q=site%3Aforums.mp3tag.de+detlevd+popularimeter)

DD.20160221.1407.CET

---

<div class="post-metadata">

### Author: ![pledge](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/7c8e57/32.png) [@pledge](https://community.mp3tag.de/u/pledge)
#### Post date: [February 21, 2016, 2:01pm UTC](https://community.mp3tag.de/t/show-traktor-ratings-as-stars-in-comment-field/17667/5 "2016-02-21T14:01:28Z")

</div>

I set up wrong the field in the browser, now it worked as I suggested as a workaround. Thank you all!

---

<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:26pm UTC](https://community.mp3tag.de/t/show-traktor-ratings-as-stars-in-comment-field/17667/6 "2026-02-09T12:26:06Z")

</div>


