# Column Script to Show POPM Ratings as "Stars"

**URL:** https://community.mp3tag.de/t/column-script-to-show-popm-ratings-as-stars/11806
**Category:** Support
**Created:** [April 1, 2011, 6:36pm UTC](https://community.mp3tag.de/t/column-script-to-show-popm-ratings-as-stars/11806 "2011-04-01T18:36:32Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [April 1, 2011, 7:49pm UTC](https://community.mp3tag.de/t/column-script-to-show-popm-ratings-as-stars/11806/2 "2011-04-01T19:49:57Z")

</div>

> [@Doug Mackie](#):
>
> ... is there is a simpler way? ...

Doug, do you know this post?  
[Bewertung WinAmp in rating wmp](https://community.mp3tag.de/t/11654/4)

Put this Formatstring into the **Value** edit field of a column definition dialog, _leave the **Field** edit field empty_ ...

**$repeat('\*',$if($eql($regexp(%POPULARIMETER%,'^rating@winamp\.com\|(\d{3})\|.+$','$1'),255),5,$if($eql($regexp(%POPULARIMETER%,'^rating@winamp\.com\|(\d{3})\|.+$','$1'),196),4,$if($eql($regexp(%POPULARIMETER%,'^rating@winamp\.com\|(\d{3})\|.+$','$1'),128),3,$if($eql($regexp(%POPULARIMETER%,'^rating@winamp\.com\|(\d{2})\|.+$','$1'),64),2,$if($eql($regexp(%POPULARIMETER%,'^rating@winamp\.com\|(\d{1})\|.+$','$1'),1),1,%RATING WMP%))))))**

... and you will get stars for numbers ...  
  
**1=\*  
64=\*\*  
128=\*\*\*  
196=\*\*\*\*  
255=\*\*\*\*\***

DD.20110401.2353.CEST

---

_[View the full topic](https://community.mp3tag.de/t/column-script-to-show-popm-ratings-as-stars/11806)._
