summaryrefslogtreecommitdiff
path: root/apps/plugins/searchengine/dbinterface.h
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-07-01 17:29:44 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-07-01 17:29:44 +0000
commitc735ed79142a0260fc05d58cb0672e5d1720a26a (patch)
tree3fd67eb9fb598e9b8bc0c3003ec3bf037379ebb4 /apps/plugins/searchengine/dbinterface.h
parent4ec80704d5f34a167d45db7539f47b12cc23c59e (diff)
First runtime database support, self repairing, only playcount works for now,
which is still rather crude; playcount gets increased even if the song started playback but was skipped... track rating should be trivial to add, autorating also works since its based on playcount. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6969 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/searchengine/dbinterface.h')
-rw-r--r--apps/plugins/searchengine/dbinterface.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/searchengine/dbinterface.h b/apps/plugins/searchengine/dbinterface.h
index 98596aed2f..b168456b85 100644
--- a/apps/plugins/searchengine/dbinterface.h
+++ b/apps/plugins/searchengine/dbinterface.h
@@ -30,13 +30,15 @@ struct entry {
loadedalbumname,
loadedartistname;
char *filename;
- long hash;
- long songentry;
+ long hash,rundbhash;
+ long songentry,rundbfe;
long rundbentry;
short year;
short bitrate;
- long rating;
+ short rating;
long playcount;
+ long lastplayed;
+ short voladj;
char *title;
char *genre;
long artistoffset;