summaryrefslogtreecommitdiffstats
path: root/apps/tagcache.h
diff options
context:
space:
mode:
authorMichael Hohmuth <sideral@rockbox.org>2011-07-31 16:26:35 +0000
committerMichael Hohmuth <sideral@rockbox.org>2011-07-31 16:26:35 +0000
commiteab7e747788bd633104019ab82bc75b384a95eff (patch)
tree6a2660b83b6b0448986b0f5813458e09ce0774f2 /apps/tagcache.h
parentaccea18ded5d2f1bb4db3118f9c7bfa994a2f77d (diff)
downloadrockbox-eab7e747788bd633104019ab82bc75b384a95eff.tar.gz
rockbox-eab7e747788bd633104019ab82bc75b384a95eff.tar.bz2
rockbox-eab7e747788bd633104019ab82bc75b384a95eff.zip
FS#12132 patch 6, part 2: tagnavi.config: Add support for "basename"
in formats and conditions. The basename is the non-directory part of a file's pathname. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30230 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r--apps/tagcache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h
index 1dad012ebe..393a2905f5 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -36,7 +36,7 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,
/* Real tags end here, count them. */
TAG_COUNT,
/* Virtual tags */
- tag_virt_length_min, tag_virt_length_sec,
+ tag_virt_basename, tag_virt_length_min, tag_virt_length_sec,
tag_virt_playtime_min, tag_virt_playtime_sec,
tag_virt_entryage, tag_virt_autoscore };
@@ -106,7 +106,7 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,
(1LU << tag_tracknumber) | (1LU << tag_length) | (1LU << tag_bitrate) | \
(1LU << tag_playcount) | (1LU << tag_rating) | (1LU << tag_playtime) | \
(1LU << tag_lastplayed) | (1LU << tag_commitid) | (1LU << tag_mtime) | \
- (1LU << tag_lastoffset) | \
+ (1LU << tag_lastoffset) | (1LU << tag_virt_basename) | \
(1LU << tag_virt_length_min) | (1LU << tag_virt_length_sec) | \
(1LU << tag_virt_playtime_min) | (1LU << tag_virt_playtime_sec) | \
(1LU << tag_virt_entryage) | (1LU << tag_virt_autoscore))