Quote:
Originally Posted by capink
You made the template language flexible enough to display rating (I shouldn't be telling you that  )
Code:
program:
rating = $rating;
text = '';
for x in range(0,rating):
text = text & '★'
rof
The line highlighted in blue should be edited to fetch rating from the appropriate column
Edit: Thinking about this, I was about to suggest a rating_to_stars() function, only to discover it is already there, and it uses halfstars as well.
|
This is exciting, granted, I am not sure what most of the code means. I didn't know that there was functionality for half stars. Is that something that can be used for the built-in rating system in the default metadata screen?