summaryrefslogtreecommitdiffstats
path: root/apps/tagtree.c
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/tagtree.c
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/tagtree.c')
-rw-r--r--apps/tagtree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index a929fb6c33..37de9a242d 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -238,6 +238,7 @@ static int get_tag(int *tag)
{"Ps", tag_virt_playtime_sec},
{"title", tag_title},
{"filename", tag_filename},
+ {"basename", tag_virt_basename},
{"tracknum", tag_tracknumber},
{"discnum", tag_discnumber},
{"year", tag_year},