# Map Lexicon Field to Engine DJ Rating

**URL:** <https://discuss.lexicondj.com/t/map-lexicon-field-to-engine-dj-rating/2754>\
**Category:** Engine DJ\
**Created:** [November 11, 2024, 4:23pm UTC](https://discuss.lexicondj.com/t/map-lexicon-field-to-engine-dj-rating/2754 "2024-11-11T16:23:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidd](https://discuss.lexicondj.com/user_avatar/discuss.lexicondj.com/davidd/32/2549_2.png) [@davidd](https://discuss.lexicondj.com/u/davidd)\
**Post date:** [November 11, 2024, 4:23pm UTC](https://discuss.lexicondj.com/t/map-lexicon-field-to-engine-dj-rating/2754/1 "2024-11-11T16:23:02Z")

</div>

It’d be very nice to be able to map numeric fields (ie. energy, danceability, etc) to the “Rating” field in Engine DJ. I’ve done some experimentation on this myself - I wrote a quick and dirty [Python script](https://github.com/ddrobner/enginedj-utils/blob/master/energy-to-rating.py) to read the “Energy” from the IDv3 tag and write it as the “Rating” in the Engine database.

Internally, the engine rating is just an integer from 0-100, with each grouping of 20 being a new star (ie. 0 stars is 0-19, 1 star is 20-39, etc). It seems that Engine doesn’t complain about having a rating of say 24 points, but I just rounded things off to increments of 20s (but this may mean they sort differently). It would be great to be able to do this in Lexicon directly!

---

<div class="post-metadata">

**Author:** ![Christiaan](https://discuss.lexicondj.com/user_avatar/discuss.lexicondj.com/christiaan/32/10_2.png) [@Christiaan](https://discuss.lexicondj.com/u/Christiaan)\
**Post date:** [November 11, 2024, 8:31pm UTC](https://discuss.lexicondj.com/t/map-lexicon-field-to-engine-dj-rating/2754/2 "2024-11-11T20:31:18Z")

</div>

Rating from Lexicon already goes to the Engine rating. How do you mean that this is needed?
