Bug 268246

Summary: Save statistics to file doesn't save halves of ratings
Product: [Applications] amarok Reporter: karaluh <karaluh>
Component: Collections/LocalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal CC: mitchell, ralf-engels
Priority: NOR    
Version: 2.4.0   
Target Milestone: 2.4.1   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 2.4.2
Sentry Crash Report:

Description karaluh 2011-03-11 19:37:07 UTC
Version:           2.4.0
OS:                Linux

As in summary.

Reproducible: Didn't try

Steps to Reproduce:
1. Turn saving statistics to files on
2. Rate unrated song to 4,5
3. Do full collection rescan


Actual Results:  
Rated song has rating of 4

Expected Results:  
Rated song having rating of 4,5

OS: Linux (i686) release 2.6.35-28-generic
Compiler: cc
Comment 1 Myriam Schweingruber 2011-05-15 22:52:11 UTC
*** Bug 273363 has been marked as a duplicate of this bug. ***
Comment 2 karaluh 2011-05-16 08:48:03 UTC
That's not a duplicate. Both are my reports and both are about different issues.
Comment 3 Myriam Schweingruber 2011-05-16 09:07:35 UTC
Still, both are probably caused by bug 211777
Comment 4 Ralf Engels 2011-05-16 10:10:46 UTC
I also don't think that it's a duplicate as dbus is not used here.
But I just tried it, most of the half-ratings are really gone, but not all. I guess it's a problem with the back and forth conversion when storing the tags.
Comment 5 Ralf Engels 2011-06-01 17:47:22 UTC
Will commit the fix for this today.