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
This commit is contained in:
parent
eab7e74778
commit
935d3d717f
1 changed files with 4 additions and 1 deletions
|
@ -6,9 +6,12 @@
|
||||||
# get overwritten automatically.
|
# get overwritten automatically.
|
||||||
|
|
||||||
# Basic format declarations
|
# 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" "%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" "%02d. %s - %02d:%02d" tracknum title Lm Ls ? tracknum > "0"
|
||||||
%format "fmt_title" "%s - %02d:%02d" title Lm Ls
|
%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_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_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"
|
%format "fmt_forgotten" "%06d%s - %s" lastplayed artist title %limit = "99" %strip = "6"
|
||||||
|
@ -169,7 +172,7 @@
|
||||||
"Album" -> album -> title = "fmt_title"
|
"Album" -> album -> title = "fmt_title"
|
||||||
"Genre" -> genre -> artist -> album -> title = "fmt_title"
|
"Genre" -> genre -> artist -> album -> title = "fmt_title"
|
||||||
"Composer" -> composer -> 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"
|
"Year" -> year ? year > "0" -> artist -> album -> title = "fmt_title"
|
||||||
"User Rating" -> rating -> title = "fmt_title"
|
"User Rating" -> rating -> title = "fmt_title"
|
||||||
"Recently Added" -> album ? entryage < "4" & commitid > "0" -> title = "fmt_title"
|
"Recently Added" -> album ? entryage < "4" & commitid > "0" -> title = "fmt_title"
|
||||||
|
|
Loading…
Reference in a new issue