DVDpedia: rating statistics

Tell us about your wildest feature dreams. Or just harmless suggestions for improvement.

DVDpedia: rating statistics

Postby PhiBo » Wed Aug 08, 2012 5:31 pm

Why is there no option in the statistics view to include the ratings field? I don't mean the five star personal rating but the field where for example IMDB scores are put into.
PhiBo
Contributor
Contributor
 
Posts: 8
Joined: Mon Aug 08, 2011 5:13 pm

Re: DVDpedia: rating statistics

Postby Conor » Thu Aug 09, 2012 4:29 am

It's a field that diverges a lot in values and hence not quite practical for the statistics. But you can include it by modifying the statistics.xml file inside the DVDpedia.app package; control click and select "Show Package Contents..." navigate to the resources folder and open "statistics.xml" with a text editor and insert the following between the other <dict> sections:

Code: Select all
   <dict>
      <key>identifier</key>
      <string>rating</string>
      <key>type</key>
      <integer>1</integer>
   </dict>


Keep a copy of a the statistics.xml file so you can drop it in after an update that will update the file as well to it's original settings.
User avatar
Conor
Top Dog
 
Posts: 5235
Joined: Sat Jul 03, 2004 12:58 pm

Re: DVDpedia: rating statistics

Postby PhiBo » Thu Aug 09, 2012 4:54 am

Hi, thanks for the tip, that worked perfectly. :)

When I played around with smart list rules for the ratings field I had the impression the field is defined for integer values. Nonetheless when fetching data from IMDB the field is filled with something more like a string (e.g. "7.7 (118,659 votes)"). I don't know if this is possible with all data sources but I think you should either condense whatever you read from a data source into a numerical value (which is what I do manually now) or redefine the ratings field as string value.
PhiBo
Contributor
Contributor
 
Posts: 8
Joined: Mon Aug 08, 2011 5:13 pm

Re: DVDpedia: rating statistics

Postby Conor » Thu Aug 09, 2012 8:37 am

It's a field that is trap in hybrid land. Most users use it as a number, but a large number like to add the number of votes that produce the rating. So we like to treat it like a number, but have left it free to allow more than that. As long as the number comes first in the field, then it can be used properly in the smart collection. Thank you for the feedback.
User avatar
Conor
Top Dog
 
Posts: 5235
Joined: Sat Jul 03, 2004 12:58 pm


Return to Feature Requests