mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
c985903084
commit
75eff7af5e
3 changed files with 57 additions and 24 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue