I want to get the Energy-rating of Mixed In Key converted into the Star-rating system of Traktor.
Mixed In Key's Energy-rating is being analyzed and written into the COMMENT tag-field as text (together with Key-result).
Traktor's Star-rating is making use of the POPULARIMETER tag-field to display the amount of stars.
See picture below:

Traktor's code for Star-rating I digged up here:
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
I would like an action like:
if COMMENT contains 'Energy 9'; than write POPULARIMETER=traktor@native-instruments.de|255|000,
so it shows 5 stars (with zero playcounts)
See pic below for desired outcome:

Does anyone have any ideas?
Thanks in advance.



