summaryrefslogtreecommitdiffstats
path: root/firmware/export/id3.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2007-07-21 17:35:19 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2007-07-21 17:35:19 +0000
commit9d756e2760a0926aa416b22e276c4a5b2685e84e (patch)
tree21502b59d472d57f6cdb267eb96177784beec706 /firmware/export/id3.h
parent6ed7722db0f7e911684f5deb84cc4ae93d15ccac (diff)
downloadrockbox-9d756e2760a0926aa416b22e276c4a5b2685e84e.tar.gz
rockbox-9d756e2760a0926aa416b22e276c4a5b2685e84e.zip
Queue song statistical data to the tagcache system and update entirely in background. Fixes ratings disappearing or not saving in the DB at all. Fixes also UI delay when stopping playback and new statistics are committed to DB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13955 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/id3.h')
-rw-r--r--firmware/export/id3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h
index 4ce2e9978f..3b69d50075 100644
--- a/firmware/export/id3.h
+++ b/firmware/export/id3.h
@@ -202,10 +202,12 @@ struct mp3entry {
long rundbentryoffset;
/* runtime database fields */
+ long tagcache_idx;
short rating;
short score;
long playcount;
long lastplayed;
+ long playtime;
/* replaygain support */