From 75eff7af5e23bb86b376746c1216b553d1efbc35 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 29 Oct 2007 14:10:24 +0000 Subject: 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 --- apps/tagcache.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'apps/tagcache.h') 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 { -- cgit v1.2.3