# Set rating for import in VirtualDJ

**URL:** https://community.mp3tag.de/t/set-rating-for-import-in-virtualdj/60352
**Category:** Support
**Created:** [March 12, 2023, 2:35pm UTC](https://community.mp3tag.de/t/set-rating-for-import-in-virtualdj/60352 "2023-03-12T14:35:21Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [March 13, 2023, 8:38am UTC](https://community.mp3tag.de/t/set-rating-for-import-in-virtualdj/60352/12 "2023-03-13T08:38:23Z")

</div>

In the meantime I have installed VirtualDJ and found a solution for exact this situation:  
a) You can set the rating in stars in VirtualDJ.  
b) You can see the same stars in Mp3tag.  
c) You can NOT set unicode stars in Mp3tag, but you can set the numeric value. This will be reflected in VirtualDJ.  
-\> Please see the Addendum how to enter rating stars `*` directly in the File List.

I have not tested MediaMonkey, Windows File Explorer, Tag&Rename, iTunes or other software. If you need support for these, please ask in the MM-/Microsoft-/Tag&Rename/Apple-Forum.

Solution for VirtualDJ and Mp3tag, step-by-step:  
_(tested with vinstall\_virtualdj\_2023\_b7482\_pc and Mp3tag v3.19b)_

1.) You have to be aware the following VirtualDJ behaviour:

 ![Read & Write behaviour in VirtualDJ](https://community.mp3tag.de/uploads/default/original/2X/f/fcd528beccd31acc7afd298a08a2b612642354dc.png)

2.) You have to set the tags settings in VirtualDJ like this:

 ![Tag Settings VirtualDJ](https://community.mp3tag.de/uploads/default/original/2X/9/95e1b5e7733a60c748fb07ec7f1760aad7e7ec6f.png)  
If you don't set **getTagsAuto** and **setTagsAuto** and **getRatingFromTags** to **Yes** you can not interchange the rating between VirtualDJ and Mp3tag.

3.) You can add a new column in Mp3tag with this Value:  
`$if2(%rating winamp%,$ifgreater($regexp(%POPULARIMETER%,'^.*\|(\d{1,3})','$1'),196,★★★★★,$ifgreater($regexp(%POPULARIMETER%,'^.*\|(\d{1,3})','$1'),128,★★★★,$ifgreater($regexp(%POPULARIMETER%,'^.*\|(\d{1,3})','$1'),64,★★★,$ifgreater($regexp(%POPULARIMETER%,'^.*\|(\d{1,3})','$1'),1,★★,$ifgreater($regexp(%POPULARIMETER%,'^.*\|(\d{1,3})','$1'),0,★,))))))`

 ![image](https://community.mp3tag.de/uploads/default/original/2X/d/dfe2bc2fac0a773f4b1894c7d5de5c9a8507eb4d.png)

This adjusted Value reflects the way VirtualDJ writes it's rating into the tag POPULARIMETER:

![id3v2-POPULARIMETER from VirtualDJ](https://community.mp3tag.de/uploads/default/original/2X/b/b118783d34e68326f77764d9391a2487c5449a89.png)  
It seems, that VirtualDJ only writes `|1` or `|64` or `|128` or `|196` or `|255`

4.) The final result in Mp3tag looks like this:

 ![Stars in Mp3tag](https://community.mp3tag.de/uploads/default/original/2X/8/814065de5799fc29fcc6e89c7ebd949a7edaf329.png)  
If you want to change the ratings in Mp3tag, you have to set the POPULARIMETER values as numbers, not as stars. You can enter them directly in the POPULARIMETER column (or in a Tag Panel field %popularimeter% you could also add).  
These numbers are 1 for 1 Star, 64 for 2 stars, 128 for 3 stars, 196 for 4 stars and 255 for 5 stars.

5.) The very unusual problem lies inside VirtualDJ:  
As you know from point 1.) VirtualDJ will only read the tags ONCE into its database. Every later change outside VirtualDJ will not be re-imported automatically in its database!  
~~If you want to "refresh" the VirtualDJ database, the only way I found is to (slighty) change the filename and reimport this file into VirtualDJ.~~  
You have to ask in the VirtualDJ-Forum, why this current behaviour should be the preferred one.

**Corrigendum 13.03.2023, 15.30 Uhr:**  
I eventually found a workaround to "reload" the tags in VirtualDJ without changing the filename.  
It seems that selecting the changed tracks in VirtualDJ and right click on them, selecting the context menu  
**Batch -\> Reload tags**  
does exactly that: Reloading the externally changed tags.  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/c/ca8573e00aaee8cd73f63b26bdf01477122a4b01.png)

---

_[View the full topic](https://community.mp3tag.de/t/set-rating-for-import-in-virtualdj/60352)._
