Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category User Interface
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by PaulJam - 2007-06-16
Last edited by Steve Bavin - 2008-04-15

FS#7318 - Database: Playcount sometimes increases manually stopping playback

When 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.

Closed by  Steve Bavin
2008-04-15 12:39
Reason for closing:  Fixed

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing