Music Banter - View Single Post - Foobar2000 - Support and Discussions
View Single Post
Old 02-01-2010, 02:17 PM   #37 (permalink)
Guybrush
Juicious Maximus III
 
Guybrush's Avatar
 
Join Date: Nov 2008
Location: Scabb Island
Posts: 6,525
Default

Awesome Thanks!

edit :

By the way!

I fixed my ratings column script a bit so that it acts like this instead :



Click here for a screenie of the whole thang.

Above you can see songs tagged for one album and one where no songs are tagged. The script now looks like this :

Code:
$rgb(250,173,69)
$if(%rating%,$repeat(★,%rating%),)
$repeat(☆,$sub(5,%rating%))
The first line just specifies the colour. Change it to suit you! The other repeats full stars X number of times where X is the same as rating. The last line repeats empty stars 5-X times where X is the rating. If there is no rating tag, it repeats empty stars 5-0 times.

Not sure it's the smartest way to do it (I'm a programming newb), but it works.
__________________
Something Completely Different
Guybrush is offline   Reply With Quote