This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7318 - Database: Playcount sometimes increases manually stopping playback
Attached to Project:
Rockbox
Opened by PaulJam (PaulJam) - Saturday, 16 June 2007, 14:20 GMT+2
Last edited by Steve Bavin (pondlife) - Tuesday, 15 April 2008, 14:39 GMT+2
Opened by PaulJam (PaulJam) - Saturday, 16 June 2007, 14:20 GMT+2
Last edited by Steve Bavin (pondlife) - Tuesday, 15 April 2008, 14:39 GMT+2
|
DetailsWhen you stop playback near the end of a playlist (when all remaining tracks are fully buffered?) then the playcount of the song that was playing increases. This leads to an incorrect Autoscore.
Reproduction: Initialize the database, enable "Gather Runtine Data", choose a WPS that shows playcount(%rp) and/or autoscore(%ra). set repeat to off. Then load the last track of a directory and stop playback after a while. If you now play the track again the playcount has increased by one. I think the problem is that the decision whether the runtimedata is updated or not on a stop event depends on the variable "playlist_end" (see http://svn.rockbox.org/viewvc.cgi/trunk/apps/playback.c?r1=12975&r2=12976 ) and as far as i understand this variable becomes "true" as soon as all remaining tracks in the playlist are buffered. H300 with r13634-070616. |
This task depends upon