mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Accept FS#8008 - allows the current artist or album to be used in databse searches (use the #artist# or #album# keywords in tagnavi.config)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15354 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bae8f4c316
commit
4d18aa3546
3 changed files with 55 additions and 13 deletions
|
@ -109,12 +109,18 @@ struct tagcache_stat {
|
|||
// const char *uimessage; /* Pending error message. Implement soon. */
|
||||
};
|
||||
|
||||
enum source_type {source_constant, source_input,
|
||||
source_current_artist, source_current_album};
|
||||
|
||||
#define SOURCE_CURRENT_ARTIST "#artist#"
|
||||
#define SOURCE_CURRENT_ALBUM "#album#"
|
||||
|
||||
struct tagcache_search_clause
|
||||
{
|
||||
int tag;
|
||||
int type;
|
||||
bool numeric;
|
||||
bool input;
|
||||
int source;
|
||||
long numeric_data;
|
||||
char *str;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue