• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Database
  • Assigned To
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 2
  • Private
Attached to Project: Rockbox
Opened by PaulJam - 2007-10-28
Last edited by roolku - 2007-11-23

FS#8040 - Gather Runtime Data stopped working with r15306

The “Gather Runtime Data” feature of the DataBase doesn’t work anymore. The data that was collected before updating to a build after r15306 still shows up in the WPS and database browser, but it doesn’t get updated anymore.

tested with H300 uisimulator (Cygwin on WindowxXP) (with r15305 it worked; with r15306 and r15436 it didn’t work)

Closed by  roolku
2007-11-23 01:15
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Now also saving rt info for the last track of the playlist.

The "unnecessary" calls are in fact neccessary for possible backwards skipping so they need to stay.

Once we figure out a good way to get the played statistics onto the metadata stored on buffer, this will work, I’ve adjusted the track clearing order. I think.

I don’t know, whether it’s the same kind of error or not, but on my iRiver iHP-120 the database user rating feature isn’t working anymore with the current releases. I ‘m able to rate a song via the ‘context menue’ and the new ‘combobox style rating editor’, but it seems, that the assigned ratings aren’t stored permantly in the database. Only the former assigned songs are rated furthermore (assigned under version r15427-071103).

Target define: -DIRIVER_H120
Memory: 32
CPU: coldfire
Manufacturer: iriver
Version: r15596M-071112

There’s a good chance that it’s the same problem, yes.

While it works a lot better with r15748 there is still an outstanding problem. :(

The last track of a playlist is not recorded, neither is the current track when you press stop (although for the latter there is still an ongoing debate on whether it should be)

Looking at some debugging info, it is the usual case of calling with elapsed time = 0.

In fact there are quite a lot of unnecessary calls with an invalid elapsed time of 0, i.e. when you press stop for all the tracks after the currently playing one, or when you change the repeat mode (I guess whenever buffered tracks get discarded). They don’t however cause any problems (apart from the extra execution time I suppose).


Available keyboard shortcuts


Task Details

Task Editing