summaryrefslogtreecommitdiffstats
path: root/apps/tagcache.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-10-29 14:10:24 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-10-29 14:10:24 +0000
commit75eff7af5e23bb86b376746c1216b553d1efbc35 (patch)
tree7fc38e65e85bf30996a131a6bec685e7756b6845 /apps/tagcache.h
parentc98590308457f6d74b2539b978ce760c496a25cf (diff)
downloadrockbox-75eff7af5e23bb86b376746c1216b553d1efbc35.tar.gz
rockbox-75eff7af5e23bb86b376746c1216b553d1efbc35.tar.bz2
rockbox-75eff7af5e23bb86b376746c1216b553d1efbc35.zip
rework my previous commit (FS#8008) to be able to work for any of the strings in the id3 info struct, new ones need to be added to tagtree.c and tagnavi.config
*currently available tags are* #title# #artist# #album# #genre# #composer# #albumartist# and #directory# git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15358 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r--apps/tagcache.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h
index 16dac0b41f..a33e79b56d 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -110,10 +110,12 @@ struct tagcache_stat {
};
enum source_type {source_constant, source_input,
- source_current_artist, source_current_album};
-
-#define SOURCE_CURRENT_ARTIST "#artist#"
-#define SOURCE_CURRENT_ALBUM "#album#"
+ source_current_path, /* has different handling to _id3
+ so it has to be seperate */
+ source_current_id3 /* dont add items after this.
+ it is used as an index
+ into id3_to_search_mapping */
+ };
struct tagcache_search_clause
{