Author |
Message |
Registered: June 26, 2013 | Reputation: | Posts: 694 |
| Posted: | | | | Hi, why is the review rating different after export to xml file? I know that half points may be awarded. So would 3,5 point export as 7 points, or not. but ... results in collection.xml <Review Film="6" Video="7" Audio="8" Extras="9"/>why? cheers emmeli | | |
the real BirthYear OverView |
|
Registered: March 14, 2007 | Reputation: | Posts: 6,747 |
| Posted: | | | | It's a bit odd, yes.
But I guess it's because you can't split the first tile. If you rate, the first tile is always full. Only after that do you get to give halfsies. | | | Karsten DVD Collectors Online
| | | Last edited: by DJ Doena |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | Quoting DJ Doena: Quote: But I guess it's because you can split the first tile. "can't" ... what a difference a forgotten 't can make A simple multiplication by 2 would have been the wiser choice IMHO, or simply put them out as the decimals they are. | | | Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,005 |
| |
Registered: June 26, 2013 | Reputation: | Posts: 694 |
| Posted: | | | | but is not logical if i wants to use the rating for external app/website. it is not possible to get full stars, whether i use five or ten stars rating.
i think it is a bug and not a feature. | | |
the real BirthYear OverView |
|
Registered: March 31, 2007 | Posts: 662 |
| Posted: | | | | Quoting emmeli: Quote: but is not logical if i wants to use the rating for external app/website. it is not possible to get full stars, whether i use five or ten stars rating. if ( $rating > 0 ) $rating = $rating + 1; | | | |
|
Registered: March 14, 2007 | Reputation: | Posts: 6,747 |
| Posted: | | | | Quoting StaNDarD: Quote: if ( $rating > 0 ) $rating = $rating + 1; if ( $rating > 0 ) $rating += 1; | | | Karsten DVD Collectors Online
|
|
Registered: March 31, 2007 | Posts: 662 |
| Posted: | | | | Quoting DJ Doena: Quote: Quoting StaNDarD:
Quote: if ( $rating > 0 ) $rating = $rating + 1; if ( $rating > 0 ) $rating += 1;
You're right, I guess in most programming languages this is possible. I guess, this will also be possible in many cases: if ( $rating > 0 ) $rating++; | | | |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| |
Registered: June 26, 2013 | Reputation: | Posts: 694 |
| Posted: | | | | @Mithi
thanks. i think this is the only way to properly display the rating. but you need a declaration for the half stars.
sure i can do a plus one for ten stars, but this is again not logically.
because two half points are one star. and ten half points (rating in dvdprofiler desktop app) are nine stars?
what's the problem is to add/change the number in the database.
such as for example
0 - no rating 1 - half point 2 - one point ... 9 - 4,5 points 10 - 5 points
until then i use a workaround. | | |
the real BirthYear OverView | | | Last edited: by emmeli |
|