Version: 2.0.2 (using KDE 4.2.1) OS: Linux Installed from: Fedora RPMs I have a random playlist with filter "PlayCount less than 3" (not sure if this is important). - song on playlist with playcount = 2 - song gets played - playcount increased to 3 -> CORRECT - next song on playlist with playcount = 2 - song gets played - select "Stop Playing After Track" - playing stops after song - playcount increased to 5 -> WRONG This is reproducible.
When OSD is enabled you see it flickering up twice after the end of the song. I guess those are the two additional play attempts that go into the playcounter. The bug also happens when OSD is disabled, so it is not caused by it.
I can't reproduce it in SVN, build 29.03.2009, OSD disabled. So it is seems fixed.
I just reproduced it with Amarok 2.1 SVN 946593 on Fedora 11. The only difference is that it now increases it only by 2 instead of 3. It still doesn't matter if OSD is enabled or not.
What phonon backend are you using?
I'm using phonon-backend-xine.
Yes, it's true: I can reproduce this with SVN trunk. However, this only happens if you _keep_ the track in the "Stop Playing.." state, and then play the same track again. I would argue that Amarok should automatically remove the "Stop Playing.." state from the track, after it has stopped once. This also makes sense usability wise, as the menu text currently still says "Stop Playing..", even if it's already active. Not very logical. Incidentally this change might also fix the bug we are talking about.
SVN commit 960296 by markey: When "Stop Playing After This Track" is enabled, and Amarok stops after reaching the end, disable the "Stop After.." state again. I think this makes sense usability wise, and I seem to remember that it worked like this in 1.x too. Unfortunately it does not fix the problem with the wrong track count. CCBUG: 188330 M +3 -0 PlaylistActions.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=960296
*** Bug 192037 has been marked as a duplicate of this bug. ***
I have now encountered another problem: - create a playlist where each track has playcount == X and appears only ONCE. - start playing from the first track - set "stop playing after track" on the last track of the playlist - wait until Amarok has stopped playing - exit Amarok - start mysql and check the "playount" column in the statistics table for all tracks on the playlist Here is what you'll see: - last track on the playlist has playcount == X+3 (Amarok 2.0) or X+2 (Amarok 2.1). This is the original bug I described above. - one or more tracks have playcount > X+1, which is incorrect. - all the other tracks have playcount == X+1, which is correct. I think both problems have the same root cause, i.e. Amarok increases the playcount value more than once after a track has ended.
Confirmed: bug still exists in release version of Amarok 2.1
This bug also appears at the end of the playlist. The last song gets +2 counts. Amarok 2.1.1 and 2.2-svn.
hi ! same bugs on amarok 2.1 (ubuntu packakes) on kubuntu 9.04.
sorry it's amarok 2.1.1.
*** Bug 202837 has been marked as a duplicate of this bug. ***
*** Bug 204028 has been marked as a duplicate of this bug. ***
Fixed by commit a2dada018275cec3e749892f1d783ca49992b277 Author: Edward Hades <edward.hades@gmail.com> Date: Sun Aug 16 16:29:42 2009 +0400 EngineController: removed excessive playcount increase. EngineController has been calling playbackFinished twice: in slotQueueEnded and slotAboutToFinish, so last track in the playback queue was getting playcount increased twice. BUG: 188330 ChangeLog | 1 + src/EngineController.cpp | 1 - 2 files changed, 1 insertions(+), 1 deletions(-) Please check if you can reproduce this bug after this commit, and if yes, tell me how, so i can fix it again ;)
I backported the commit to the Fedora 11 amarok 2.1.1 RPM. I couldn't reproduce the problem anymore.
et status to resolved, then.