summaryrefslogtreecommitdiff
path: root/apps/tagnavi.config
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-10-15 11:01:18 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-10-15 11:01:18 +0000
commitb89b5ba2ee31bd351710670cf5ecc5aa8beb95f3 (patch)
tree67fa9676aed7cfca7048bc40e60f71e87007149f /apps/tagnavi.config
parenta7acf1351f3088c0d509e87d84db95d38fed788c (diff)
downloadrockbox-b89b5ba2ee31bd351710670cf5ecc5aa8beb95f3.tar.gz
rockbox-b89b5ba2ee31bd351710670cf5ecc5aa8beb95f3.zip
(1) New syntax to support conditional formatting.
(2) Reduced tagnavi memory consumption. (3) There was a bug that splash screen counter was counting down when inserting tracks next. But in fact that might be preferred, so always count down after successful tagcache query. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11223 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagnavi.config')
-rw-r--r--apps/tagnavi.config36
1 files changed, 23 insertions, 13 deletions
diff --git a/apps/tagnavi.config b/apps/tagnavi.config
index fdf66828af..191b4bdda5 100644
--- a/apps/tagnavi.config
+++ b/apps/tagnavi.config
@@ -5,6 +5,15 @@
5# Instead, you can modify "/.rockbox/tagnavi_custom.config" which will never 5# Instead, you can modify "/.rockbox/tagnavi_custom.config" which will never
6# get overwritten automatically. 6# get overwritten automatically.
7 7
8# Basic format declarations
9%format "fmt_title" "%02d. %s" tracknum title ? tracknum > "0"
10%format "fmt_title" "%s" title
11%format "fmt_mostplayed" "(%3d) %s" playcount title %sort = "inverse" %limit = "100"
12%format "fmt_lastplayed" "%06d%s" lastplayed title %sort = "inverse" %limit = "99" %strip = "6"
13%format "fmt_best_tracks" "%02d. %s (%3d)" tracknum title autoscore
14%format "fmt_played" "(%3d/%d) %s" autoscore playcount title
15%format "fmt_score" "(%3d) %s" autoscore title
16
8# Include our custom menu 17# Include our custom menu
9%include "/.rockbox/tagnavi_custom.config" 18%include "/.rockbox/tagnavi_custom.config"
10 19
@@ -14,11 +23,11 @@
14 23
15# Define the search sub menu 24# Define the search sub menu
16%menu_start "search" "Search by..." 25%menu_start "search" "Search by..."
17"Artist" -> artist ? artist ~ "" -> album -> title = "%02d. %s" tracknum title 26"Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title"
18"Album" -> album ? album ~ "" -> title = "%02d. %s" tracknum title 27"Album" -> album ? album ~ "" -> title = "fmt_title"
19"Title" -> title ? title ~ "" 28"Title" -> title ? title ~ ""
20"Filename" -> filename ? filename ~ "" 29"Filename" -> filename ? filename ~ ""
21"Score" -> title = "(%3d) %s" autoscore title ? autoscore > "" 30"Score" -> title = "fmt_score" ? autoscore > ""
22 31
23# ^ An empy line ends the menu 32# ^ An empy line ends the menu
24 33
@@ -28,19 +37,20 @@
28 37
29# Define the title of the main menu 38# Define the title of the main menu
30%menu_start "main" "Browse by..." 39%menu_start "main" "Browse by..."
31"Artist" -> artist -> album -> title = "%02d. %s" tracknum title 40"Artist" -> artist -> album -> title = "fmt_title"
32"Album" -> album -> title = "%02d. %s" tracknum title 41"Album" -> album -> title = "fmt_title"
33"Genre" -> genre -> artist -> album -> title = "%02d. %s" tracknum title 42"Genre" -> genre -> artist -> album -> title = "fmt_title"
34"Composer" -> composer -> album -> title = "%02d. %s" tracknum title 43"Composer" -> composer -> album -> title = "fmt_title"
35"Track" -> title 44"Track" -> title
36"Year" -> year ? year > "1000" & year < "2008" -> artist -> album -> title = "%02d. %s" tracknum title 45"Year" -> year ? year > "1000" & year < "2008" -> artist -> album -> title = "fmt_title"
37"Search..." ==> "search" 46"Search..." ==> "search"
38"Most played tracks" -> title = "(%3d) %s" playcount title %sort = "inverse" %limit = "100" ? playcount > "0" 47"Most played tracks" -> title = "fmt_mostplayed" ? playcount > "0"
39"Last played tracks" -> title = "%06d%s" lastplayed title %sort = "inverse" %limit = "99" %strip = "6" ? playcount > "0" 48"Last played tracks" -> title = "fmt_lastplayed" ? playcount > "0"
40"Never played tracks" -> artist ? playcount == "0" -> album -> title = "%02d. %s" tracknum title 49"Never played tracks" -> artist ? playcount == "0" -> album -> title = "fmt_title"
41"Best tracks" -> artist ? playcount > "1" & autoscore > "85" -> album -> title = "%02d. %s (%3d)" tracknum title autoscore 50"Best tracks" -> artist ? playcount > "1" & autoscore > "85" -> album -> title = "fmt_best_tracks"
42"List played tracks" -> title = "(%3d/%d) %s" autoscore playcount title ? playcount > "0" 51"List played tracks" -> title = "fmt_played" ? playcount > "0"
43"Custom view..." ==> "custom" 52"Custom view..." ==> "custom"
44 53
45# And finally set main menu as our root menu 54# And finally set main menu as our root menu
46%root_menu "main" 55%root_menu "main"
56