summaryrefslogtreecommitdiffstats
path: root/apps/tagcache.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2007-02-10 12:09:28 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2007-02-10 12:09:28 +0000
commit4e9766477b37579bfa0249fa17818da8d348db7f (patch)
tree0fceae7fd07d436285ae3605621585b58535919d /apps/tagcache.h
parent7bf62e8da66ca8ff0acc2702f92ea4fe06eb94b1 (diff)
downloadrockbox-4e9766477b37579bfa0249fa17818da8d348db7f.tar.gz
rockbox-4e9766477b37579bfa0249fa17818da8d348db7f.tar.bz2
rockbox-4e9766477b37579bfa0249fa17818da8d348db7f.zip
FS#6638 - Album artist and comment patch for WPS and tagcache. Export
your database before updating because initialization is needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12255 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r--apps/tagcache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h
index 4194851aab..503da8c1eb 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -23,12 +23,12 @@
#include "id3.h"
enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,
- tag_filename, tag_composer, tag_year, tag_tracknumber,
- tag_bitrate, tag_length, tag_playcount, tag_playtime, tag_lastplayed,
+ tag_filename, tag_composer, tag_comment, tag_albumartist, tag_year, tag_tracknumber,
+ tag_bitrate, tag_length, tag_playcount, tag_playtime, tag_lastplayed,
/* Virtual tags */
tag_virt_autoscore };
-#define TAG_COUNT 13
+#define TAG_COUNT 15
/* Maximum length of a single tag. */
#define TAG_MAXLEN (MAX_PATH*2)
@@ -40,7 +40,7 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,
#define IDX_BUF_DEPTH 64
/* Tag Cache Header version 'TCHxx'. Increment when changing internal structures. */
-#define TAGCACHE_MAGIC 0x54434806
+#define TAGCACHE_MAGIC 0x54434807
/* How much to allocate extra space for ramcache. */
#define TAGCACHE_RESERVE 32768