Help - Search - Members - Calendar
Full Version: foo_ui_columns + foo_quicktag
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
JEN
I have just tried getting the rating to work on the main playlist but I get the following lines instead of the circles which I have seen on some screenies

user posted image

How do I get the circles instead?

And also

How do I get the circle rating into the Track Info Panel

Thanks
Lance Uppercut
QUOTE(JEN @ Jan 29 2005, 04:25 AM)
I have just tried getting the rating to work on the main playlist but I get the following lines instead of the circles which I have seen on some screenies

user posted image

How do I get the circles instead?

And also

How do I get the circle rating into the Track Info Panel

Thanks
*



CODE

$if(%rating%,
$repeat(000000●,%rating%)
$repeat(C0C0C0●,$sub(5,%rating%)),
)


CODE

$if(%rating%,
$repeat(000000●,%rating%)
$repeat(C0C0C0●,$sub(5,%rating%)),
C0C0C0●●●●●
)


This will give you black ratings, and greyed out circles upto 5. The first one will not show anything if %rating% tags are missing, but the second will give greyed out circles.
This is for ratings on a scale of 1 - 5. Just change the 5 (and number of greyed out dots if you use the second code) if your ratings go higher.
Also, add the squares around the color codes. I could not get them to paste.

The same code will work for trackinfo as well.
JEN
I tried both of them.

Currently I have 1 track with a rating value of 5

For the first one I get:
user posted image

For the second one I get:
user posted image

Proof that I have rated 1 track:
user posted image

Am I missing a component or something which is stopping the circles from working?

Thanks for all the help! smile.gif
Lance Uppercut
It should work, but you need the squares around the color codes

i.e. [square] 000000 [square]

in the columns tab of ui_columns, there is a color code next to the ellipses and tools button. see how the code has squares flanking it. you need to add those in my code for it to work properly. I could not get it to cut 'n' paste in the original codes.

In fact, just pick the colors yourself and overwrite the 000000 and C0C0C0. Just make sure to copy the squares.
JEN
I did do that but didnt get rid of the squares from your code. Now I completely replaced all the squares with the new ones and it works perfectly!

Thanks !!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.