summaryrefslogtreecommitdiffstats
path: root/apps/tagnavi.config
diff options
context:
space:
mode:
authorMichael Hohmuth <sideral@rockbox.org>2011-07-31 16:26:39 +0000
committerMichael Hohmuth <sideral@rockbox.org>2011-07-31 16:26:39 +0000
commit935d3d717fd7b36812819e35512f4383660aae89 (patch)
treed35ded73ec36f4c8e1cc98568bc9a0d5ea57adbb /apps/tagnavi.config
parenteab7e747788bd633104019ab82bc75b384a95eff (diff)
downloadrockbox-935d3d717fd7b36812819e35512f4383660aae89.tar.gz
rockbox-935d3d717fd7b36812819e35512f4383660aae89.tar.bz2
rockbox-935d3d717fd7b36812819e35512f4383660aae89.zip
FS#12132 patch 7: Add a new default format for untagged tracks:
Display the file's base name instead of "<Untagged>". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30231 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagnavi.config')
-rw-r--r--apps/tagnavi.config5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/tagnavi.config b/apps/tagnavi.config
index 7cd1b2ffee..80f891dd94 100644
--- a/apps/tagnavi.config
+++ b/apps/tagnavi.config
@@ -6,9 +6,12 @@
# get overwritten automatically.
# Basic format declarations
+%format "fmt_title" "%s - %02d:%02d (%s)" basename Lm Ls filename ? title == "<Untagged>"
%format "fmt_title" "%d.%02d. %s - %02d:%02d" discnum tracknum title Lm Ls ? discnum > "0"
%format "fmt_title" "%02d. %s - %02d:%02d" tracknum title Lm Ls ? tracknum > "0"
%format "fmt_title" "%s - %02d:%02d" title Lm Ls
+%format "fmt_alphanum_title" "%s - %02d:%02d (%s)" basename Lm Ls filename ? title == "<Untagged>"
+%format "fmt_alphanum_title" "%s - %02d:%02d" title Lm Ls
%format "fmt_mostplayed" "%2d|%3d %s (%s)" playcount autoscore title artist %sort = "inverse" %limit = "100"
%format "fmt_lastplayed" "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"
%format "fmt_forgotten" "%06d%s - %s" lastplayed artist title %limit = "99" %strip = "6"
@@ -169,7 +172,7 @@
"Album" -> album -> title = "fmt_title"
"Genre" -> genre -> artist -> album -> title = "fmt_title"
"Composer" -> composer -> album -> title = "fmt_title"
-"Track" -> title
+"Track" -> title = "fmt_alphanum_title"
"Year" -> year ? year > "0" -> artist -> album -> title = "fmt_title"
"User Rating" -> rating -> title = "fmt_title"
"Recently Added" -> album ? entryage < "4" & commitid > "0" -> title = "fmt_title"