Opened 14 years ago

Closed 11 years ago

Last modified 11 years ago

#5316 closed bug (fixed)

Tracker "Rating" attribute display doesn't work

Reported by: stippi Owned by: axeld
Priority: low Milestone: R1
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I can switch the display type of the Rating attribute of the audio/* MIME type to "Rating" in FileTypes, but whatever I do, I cannot get it to display as stars, it will always display as number.

Change History (6)

comment:1 by axeld, 14 years ago

Indeed; I started implementing it, but got distracted before I got to actually render the stars. The rest should be pretty much in place (besides that one cannot use the TextWidget class to render them).

comment:2 by ttcoder, 11 years ago

Shouldn't this be closed ? Just stumbled on this ticket, and I guess this was implemented long ago (I do have stars when enabling Trackers "Rating" column here).

comment:3 by stippi, 11 years ago

Resolution: fixed
Status: newclosed

Thanks for noticing!

comment:4 by humdinger, 11 years ago

The only weird thing is: there are 5 possible stars, but the value/star ratio is 2:1. Meaning to get 2 stars, you have to give it a 3 or 4.

in reply to:  4 comment:5 by anevilyak, 11 years ago

Replying to humdinger:

The only weird thing is: there are 5 possible stars, but the value/star ratio is 2:1. Meaning to get 2 stars, you have to give it a 3 or 4.

That would make sense if you want it to be possible to give ratings like 3.5 stars, as is not uncommon in the real-world cases where such ratings are used i.e. movies. It's possible the Tracker implementation doesn't yet handle the half-star case properly though.

comment:6 by humdinger, 11 years ago

Hmm... wouldn't it make more sense to use floating point instead of integer then?

MediaPlayer seems to be the only app currently that offers to set a rating (between 1 and 10). Having only 5 stars to represent this number is awkward. Having more than 5 stars is bad too, because it takes some effort to count them all... :)

I guess the goal is to offer a nicer graphical input of the rating, like dragging the mouse over highlighting (half)stars, see e.g. IMdB.com. This should be available in Tracker as well, of course. Still, having floats from 1 to 5 with 0.5 steps seems to be more intuitive to me.

Note: See TracTickets for help on using tickets.