# Edit Traktor POPULARIMETER value in mp3tag

**URL:** https://community.mp3tag.de/t/edit-traktor-popularimeter-value-in-mp3tag/47178
**Category:** Support
**Created:** [November 28, 2019, 12:44pm UTC](https://community.mp3tag.de/t/edit-traktor-popularimeter-value-in-mp3tag/47178 "2019-11-28T12:44:01Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![seb303](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/41988e/32.png) [@seb303](https://community.mp3tag.de/u/seb303)
#### Post date: [November 29, 2019, 10:51pm UTC](https://community.mp3tag.de/t/edit-traktor-popularimeter-value-in-mp3tag/47178/5 "2019-11-29T22:51:27Z")

</div>

> [@Patch](#):
>
> I’m gonna have to look into that method of showing Traktor Rating in MP3Tag. I’m currently using BeaTunes to get Traktor Rating into a readable and useable tag.

It's super easy to set up...

- Right click on column headings -\> Customize columns...
- Add a new column name = "Rating" or whatever
- Value =  
$repeat($char(9734),$if2($ifgreater($regexp(%popularimeter%,'traktor@native-instruments.de|(\d{1,3})|\d+',$1),204,5,$ifgreater($regexp(%popularimeter%,'traktor@native-instruments.de|(\d{1,3})|\d+',$1),153,4,$ifgreater($regexp(%popularimeter%,'traktor@native-instruments.de|(\d{1,3})|\d+',$1),102,3,$ifgreater($regexp(%popularimeter%,'traktor@native-instruments.de|(\d{1,3})|\d+',$1),51,2,$ifgreater($regexp(%popularimeter%,'traktor@native-instruments.de|(\d{1,3})|\d+',$1),0,1,))))),0))

Note the Value expression is slightly edited since my first post - I changed the regexp so it would work if there are multiple Ratings present from different software in the POPM field (not sure if this can happen, but just in case). I'm only interested in showing the Traktor rating. If you need to display ratings from other software as well, see this post:

> [@Column Script to Show POPM Ratings as "Stars"](https://community.mp3tag.de/t/column-script-to-show-popm-ratings-as-stars/11806):
>
> Hello folks, The latest version of Winamp (5.61) adds an option to store Mp3 ratings in the POPM tag in files. Since Mp3tag supports this field, I decided to add a custom column that would display the ratings properly. I wrote a script, but it turned into a monster (453 characters!). Perhaps someone here can help me simplify the logic in this and other scripts that use regular expressions to compare values. The attached screen shot shows the raw data in the center and the script output on t…

---

_[View the full topic](https://community.mp3tag.de/t/edit-traktor-popularimeter-value-in-mp3tag/47178)._
