From 935d3d717fd7b36812819e35512f4383660aae89 Mon Sep 17 00:00:00 2001 From: Michael Hohmuth Date: Sun, 31 Jul 2011 16:26:39 +0000 Subject: FS#12132 patch 7: Add a new default format for untagged tracks: Display the file's base name instead of "". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30231 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagnavi.config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/tagnavi.config') 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 == "" %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 == "" +%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" -- cgit v1.2.3