diff options
author | waker <wakeroid@gmail.com> | 2011-04-10 12:41:35 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-04-10 12:41:35 +0200 |
commit | 8c9f50ac3c86cf4bb890bd36a8cc8f7faeae8041 (patch) | |
tree | 6a7bea4d03869dd4ca4e265f803be5c4ddc22714 /playlist.c | |
parent | c66c958a29e1d43a33dc7d6d24652b0a178a38ba (diff) |
don't search in readonly properties
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3475,7 +3475,7 @@ pl_search_process (const char *text) { it->selected = 0; if (*text) { for (DB_metaInfo_t *m = it->meta; m; m = m->next) { - if (strcasecmp (m->key, "cuesheet") && utfcasestr (m->value, text)) { + if (m->key[0] != ':' && m->key[0] != '_' && strcasecmp (m->key, "cuesheet") && utfcasestr (m->value, text)) { //fprintf (stderr, "%s -> %s match (%s.%s)\n", text, m->value, pl_find_meta (it, ":URI"), m->key); // add to list it->next[PL_SEARCH] = NULL; |