summaryrefslogtreecommitdiffstats
path: root/apps/tagcache.h
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2007-03-26 15:08:59 +0000
committerRobert Kukla <roolku@rockbox.org>2007-03-26 15:08:59 +0000
commit226cb7b0b82fe3d3736b8206d8a94c67c359ab64 (patch)
tree8c8b7e12ea5ac643b3c01b8c9aff4a948ae89214 /apps/tagcache.h
parentcd1ccad9d6ef4f95d6cb0d02c77b58e6566dd203 (diff)
downloadrockbox-226cb7b0b82fe3d3736b8206d8a94c67c359ab64.tar.gz
rockbox-226cb7b0b82fe3d3736b8206d8a94c67c359ab64.tar.bz2
rockbox-226cb7b0b82fe3d3736b8206d8a94c67c359ab64.zip
Rating support for database and WPS (based on FS# 6301). A value between 0 and 10 can be assigned to the currently playing track using the WPS context menu. This value is displayed in the WPS using the %rr tag (replacing autoscore) and can be used as "rating" in tagnavi.config (examples provided).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12922 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 0cfdedf310..7b7aa021c3 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -24,12 +24,12 @@
enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,
tag_filename, tag_composer, tag_comment, tag_albumartist, tag_year,
- tag_tracknumber, tag_bitrate, tag_length, tag_playcount, tag_playtime,
- tag_lastplayed, tag_commitid,
+ tag_tracknumber, tag_bitrate, tag_length, tag_playcount, tag_rating,
+ tag_playtime, tag_lastplayed, tag_commitid,
/* Virtual tags */
tag_virt_entryage, tag_virt_autoscore };
-#define TAG_COUNT 16
+#define TAG_COUNT 17
/* Maximum length of a single tag. */
#define TAG_MAXLEN (MAX_PATH*2)
@@ -41,7 +41,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 0x54434808
+#define TAGCACHE_MAGIC 0x54434809
/* How much to allocate extra space for ramcache. */
#define TAGCACHE_RESERVE 32768