Bug 130389 - favourite tracks shown with score 0
Summary: favourite tracks shown with score 0
Status: RESOLVED INTENTIONAL
Alias: None
Product: amarok
Classification: Applications
Component: Context View (show other bugs)
Version: 1.4.3
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-07 10:51 UTC by richlv
Modified: 2008-08-05 23:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description richlv 2006-07-07 10:51:55 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Slackware Packages

start with a clean db, play two tracks by the same artist one after another.
after the first track is played, it is shown under the favorite tracks (in the context browser) - but with a score "0" - probably it's score is retrieved before it is set.
this is using mysql.
Comment 1 Mario Calderón 2006-09-07 19:56:30 UTC
On my Mdk 2006-Free, KDE 3.4.2 Pentium 4 box, Coolkemen's RPM for Amarok 1.4.2 not only was unable to stream from LastFM (my reason to upgrade from 1.4.0cvs), but didn't catch the previous collection database, I had to delete and regenerate. Once done this, ratings are apparently stuck in zero, so there aren't favourite artist's tracks in sidebar, nor favourite tracks in Statistics.

BUT playcount works, and album statistics _do_ show numeric average ratings, along with the stars thing (if enabled) average. Stars asigned to any given track are shown in playlist, but not in sidebar recommendations.

Numeric ratings appear to user (playlist and sidebar) and to "favourites" calculations as zero, no matter how many times have them been played. On first play they get the familiar 74-75 rating, when re-added, they show zero again, but after replay their rating _changes_ (say, to 86, _not_ to 74, so, Amarok sees the previous rating, even it can't show it or use it to process favourites)... Add them a third time, and rating is... zero.

One more thing: cached lyrics are wiped out when closing Amarok, so they are downloaded again if a given track is replayed after a new start... Previous versions kept such lyrics undefinetly.

With Coolkev's 1.4.3, LastFM integration at last works, but all other odd things keep on.

1.4.1 didn't work in my box (hung on startup), and since I tried it, I'm unable to knock out dependencies so I can reinstall 1.4.0, be CVS or Mdk RPM.
Comment 2 richlv 2006-09-08 19:13:20 UTC
hmm. comment #1 seems to be about a completely different problem - and a lot of problems in a single comment.
Comment 3 Mario Calderón 2006-09-08 20:35:04 UTC
I don't think it's a "completely different" problem, neither "a lot of problems"; I see the very same cause in your original bug report and in my comment: tracks database ("collection") doesn't deliver "favourites" as it should (your case), or at all (my case), with the very same most-vissible symptom: zero-ratings, and Amarok inability to proccess favs rated with zero, even the real value is in fact stored, that comes to be also its inability to show real numerical and star ratings... But I'm just a desktop-user, an eternal Linux newbie... You are the experts.

I only made an extensive description of the situation and set up its context, as I've been taught to report errors.

Put aside the LastFM stuff and the upgrades history if you want (included the import database bug that led to create a "clean db", in your words); I noted them just in case they were helpful.

Thanks.
Comment 4 richlv 2006-09-11 12:33:45 UTC
if i understand it correctly, this part describes rating/scores problem :

Numeric ratings appear to user (playlist and sidebar) and to "favourites" calculations as zero, no matter how many times have them been played. On first play they get the familiar 74-75 rating, when re-added, they show zero again, but after replay their rating _changes_ (say, to 86, _not_ to 74, so, Amarok sees the previous rating, even it can't show it or use it to process favourites)... Add them a third time, and rating is... zero."

what you are referring to as rating probbably is score, right ? (ratings have a separate scale, those stars represent ratings).

the thing is, my report is about a small timing visual problem.
yours seems to be about more important problem, but one that has not been noticed by most other users - so i suggest you try to get help in forums or irc - maybe your db is broken, maybe access rights are incorrect - as i don't see such huge problems as you are describing.
Comment 5 Mario Calderón 2006-09-11 20:20:32 UTC
Thanks for 'score' and 'rating' precision, I hadn't been clear about that, even the problem affects both concepts, because I use Spanish localization and both words sound like synonims when re translated to English. I'll follow your advise and search further in forums, that's where I first found a partial but working answer for inability to retrieve database from previous Amarok versions (wipe out and re-create), since there are no complains here about this other than mine.

I don't belive this is a broken dabase issue, though, since I've made Amarok 1.4.2/3 to rebuild it from zero more than once, nor about access rights (same reason).
Comment 6 Mario Calderón 2006-09-12 00:17:52 UTC
Seems complains are all scattered in every available Amarok Forum... In my search, I've found these other cases:

http://amarok.kde.org/forum/index.php/topic,12595.0.html
http://amarok.kde.org/forum/index.php/topic,4619.0.html
Comment 7 Edward Hades 2008-06-15 10:49:06 UTC
Post here http://amarok.kde.org/forum/index.php/topic,12595.msg13927.html#msg13927 mentions incorrect MySQL configuration. I suppose that was the case in this bug, and it WORKSFORME anyways.

Comment 8 Kevin Funk 2008-06-15 11:54:08 UTC
Thanks Edward for finding out. Maybe it was fixed in versions, if not, reopen.
Comment 9 richlv 2008-06-25 10:40:20 UTC
this is not about inability to update scores, but only about the timing the score is set/retrieved from the db for showing in the context browser.
score is correctly updated in the db, but it is not correctly displayed in the context browser for the first time.
as it is a quite minor visual problem, feel free to close as wontfix (or test in amarok2 ;) )
Comment 10 Lydia Pintscher 2008-08-05 23:20:20 UTC
Sorry Rich :)
Closing as we will not fix it in Amarok 1.


Thank you for your report.