diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-10-29 14:10:24 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-10-29 14:10:24 +0000 |
commit | 75eff7af5e23bb86b376746c1216b553d1efbc35 (patch) | |
tree | 7fc38e65e85bf30996a131a6bec685e7756b6845 /apps/tagcache.h | |
parent | c98590308457f6d74b2539b978ce760c496a25cf (diff) | |
download | rockbox-75eff7af5e23bb86b376746c1216b553d1efbc35.tar.gz 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.h | 10 |
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 { | |||
110 | }; | 110 | }; |
111 | 111 | ||
112 | enum source_type {source_constant, source_input, | 112 | enum source_type {source_constant, source_input, |
113 | source_current_artist, source_current_album}; | 113 | source_current_path, /* has different handling to _id3 |
114 | 114 | so it has to be seperate */ | |
115 | #define SOURCE_CURRENT_ARTIST "#artist#" | 115 | source_current_id3 /* dont add items after this. |
116 | #define SOURCE_CURRENT_ALBUM "#album#" | 116 | it is used as an index |
117 | into id3_to_search_mapping */ | ||
118 | }; | ||
117 | 119 | ||
118 | struct tagcache_search_clause | 120 | struct tagcache_search_clause |
119 | { | 121 | { |