1 #! rockbox/tagbrowser/2.0
2 # ^ Version header must be the first line of every file
4 # Tag Browser configuration file, do not edit as changes will be lost!
5 # Instead, you can modify "/.rockbox/tagnavi_custom.config" which will never
6 # get overwritten automatically.
8 # Basic format declarations
9 %format "fmt_title" "%d.%02d. %s" discnum tracknum title ? discnum > "0"
10 %format "fmt_title" "%02d. %s - %02d:%02d" tracknum title Lm Ls ? tracknum > "0"
11 %format "fmt_title" "%s - %02d:%02d" title Lm Ls
12 %format "fmt_mostplayed" "%2d|%3d %s (%s)" playcount autoscore title artist %sort = "inverse" %limit = "100"
13 %format "fmt_lastplayed" "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"
14 %format "fmt_forgotten" "%06d%s - %s" lastplayed artist title %limit = "99" %strip = "6"
15 %format "fmt_best_tracks" "%02d. %s (%3d)" tracknum title autoscore
16 %format "fmt_score" "(%3d) %s-%s" autoscore title artist
17 %format "fmt_rating" "(%2d) %s-%s" rating title artist %sort = "inverse"
19 # Include our custom menu
20 %include "/.rockbox/tagnavi_custom.config"
23 # === Begin of "A to Z" sub menus
26 # Define the A to Z Artist sub menu
27 %menu_start "custom_artist" "Artist A to Z"
28 "Numeric" -> artist ? artist < "A" -> album -> title = "fmt_title"
29 "A" -> artist ? artist ^ "A" -> album -> title = "fmt_title"
30 "B" -> artist ? artist ^ "B" -> album -> title = "fmt_title"
31 "C" -> artist ? artist ^ "C" -> album -> title = "fmt_title"
32 "D" -> artist ? artist ^ "D" -> album -> title = "fmt_title"
33 "E" -> artist ? artist ^ "E" -> album -> title = "fmt_title"
34 "F" -> artist ? artist ^ "F" -> album -> title = "fmt_title"
35 "G" -> artist ? artist ^ "G" -> album -> title = "fmt_title"
36 "H" -> artist ? artist ^ "H" -> album -> title = "fmt_title"
37 "I" -> artist ? artist ^ "I" -> album -> title = "fmt_title"
38 "J" -> artist ? artist ^ "J" -> album -> title = "fmt_title"
39 "K" -> artist ? artist ^ "K" -> album -> title = "fmt_title"
40 "L" -> artist ? artist ^ "L" -> album -> title = "fmt_title"
41 "M" -> artist ? artist ^ "M" -> album -> title = "fmt_title"
42 "N" -> artist ? artist ^ "N" -> album -> title = "fmt_title"
43 "O" -> artist ? artist ^ "O" -> album -> title = "fmt_title"
44 "P" -> artist ? artist ^ "P" -> album -> title = "fmt_title"
45 "Q" -> artist ? artist ^ "Q" -> album -> title = "fmt_title"
46 "R" -> artist ? artist ^ "R" -> album -> title = "fmt_title"
47 "S" -> artist ? artist ^ "S" -> album -> title = "fmt_title"
48 "T" -> artist ? artist ^ "T" -> album -> title = "fmt_title"
49 "U" -> artist ? artist ^ "U" -> album -> title = "fmt_title"
50 "V" -> artist ? artist ^ "V" -> album -> title = "fmt_title"
51 "W" -> artist ? artist ^ "W" -> album -> title = "fmt_title"
52 "X" -> artist ? artist ^ "X" -> album -> title = "fmt_title"
53 "Y" -> artist ? artist ^ "Y" -> album -> title = "fmt_title"
54 "Z" -> artist ? artist ^ "Z" -> album -> title = "fmt_title"
56 # ^ An empy line ends the menu
58 # Define the A to Z album sub menu
59 %menu_start "custom_album" "Album A to Z"
60 "Numeric" -> album ? album < "A" -> title = "fmt_title"
61 "A" -> album ? album ^ "A" -> title = "fmt_title"
62 "B" -> album ? album ^ "B" -> title = "fmt_title"
63 "C" -> album ? album ^ "C" -> title = "fmt_title"
64 "D" -> album ? album ^ "D" -> title = "fmt_title"
65 "E" -> album ? album ^ "E" -> title = "fmt_title"
66 "F" -> album ? album ^ "F" -> title = "fmt_title"
67 "G" -> album ? album ^ "G" -> title = "fmt_title"
68 "H" -> album ? album ^ "H" -> title = "fmt_title"
69 "I" -> album ? album ^ "I" -> title = "fmt_title"
70 "J" -> album ? album ^ "J" -> title = "fmt_title"
71 "K" -> album ? album ^ "K" -> title = "fmt_title"
72 "L" -> album ? album ^ "L" -> title = "fmt_title"
73 "M" -> album ? album ^ "M" -> title = "fmt_title"
74 "N" -> album ? album ^ "N" -> title = "fmt_title"
75 "O" -> album ? album ^ "O" -> title = "fmt_title"
76 "P" -> album ? album ^ "P" -> title = "fmt_title"
77 "Q" -> album ? album ^ "Q" -> title = "fmt_title"
78 "R" -> album ? album ^ "R" -> title = "fmt_title"
79 "S" -> album ? album ^ "S" -> title = "fmt_title"
80 "T" -> album ? album ^ "T" -> title = "fmt_title"
81 "U" -> album ? album ^ "U" -> title = "fmt_title"
82 "V" -> album ? album ^ "V" -> title = "fmt_title"
83 "W" -> album ? album ^ "W" -> title = "fmt_title"
84 "X" -> album ? album ^ "X" -> title = "fmt_title"
85 "Y" -> album ? album ^ "Y" -> title = "fmt_title"
86 "Z" -> album ? album ^ "Z" -> title = "fmt_title"
88 # Define the A to Z track sub menu
89 %menu_start "custom_track" "Track A to Z"
90 "Numeric" -> title ? title < "A" -> title = "fmt_title"
91 "A" -> title ? title ^ "A" -> title = "fmt_title"
92 "B" -> title ? title ^ "B" -> title = "fmt_title"
93 "C" -> title ? title ^ "C" -> title = "fmt_title"
94 "D" -> title ? title ^ "D" -> title = "fmt_title"
95 "E" -> title ? title ^ "E" -> title = "fmt_title"
96 "F" -> title ? title ^ "F" -> title = "fmt_title"
97 "G" -> title ? title ^ "G" -> title = "fmt_title"
98 "H" -> title ? title ^ "H" -> title = "fmt_title"
99 "I" -> title ? title ^ "I" -> title = "fmt_title"
100 "J" -> title ? title ^ "J" -> title = "fmt_title"
101 "K" -> title ? title ^ "K" -> title = "fmt_title"
102 "L" -> title ? title ^ "L" -> title = "fmt_title"
103 "M" -> title ? title ^ "M" -> title = "fmt_title"
104 "N" -> title ? title ^ "N" -> title = "fmt_title"
105 "O" -> title ? title ^ "O" -> title = "fmt_title"
106 "P" -> title ? title ^ "P" -> title = "fmt_title"
107 "Q" -> title ? title ^ "Q" -> title = "fmt_title"
108 "R" -> title ? title ^ "R" -> title = "fmt_title"
109 "S" -> title ? title ^ "S" -> title = "fmt_title"
110 "T" -> title ? title ^ "T" -> title = "fmt_title"
111 "U" -> title ? title ^ "U" -> title = "fmt_title"
112 "V" -> title ? title ^ "V" -> title = "fmt_title"
113 "W" -> title ? title ^ "W" -> title = "fmt_title"
114 "X" -> title ? title ^ "X" -> title = "fmt_title"
115 "Y" -> title ? title ^ "Y" -> title = "fmt_title"
116 "Z" -> title ? title ^ "Z" -> title = "fmt_title"
118 # Define the A to Z sub menu
119 %menu_start "a2z" "A to Z..."
120 "Artists" ==> "custom_artist"
121 "Albums" ==> "custom_album"
122 "Tracks" ==> "custom_track"
125 # === Begin of "Search by..." sub menu
128 # Define the search sub menu
129 %menu_start "search" "Search by..."
130 "Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title"
131 "Album Artist" -> albumartist ? albumartist ~ "" -> album -> title = "fmt_title"
132 "Album" -> album ? album ~ "" -> title = "fmt_title"
133 "Title" -> title = "fmt_title" ? title ~ ""
134 "Album by year" -> album ? year = "" -> title = "fmt_title"
135 "Artist between years" -> artist ? year >= "" & year <= "" -> album -> title = "fmt_title"
136 "Album between years" -> album ? year >= "" & year <= "" -> title = "fmt_title"
137 "Filename" -> filename ? filename ~ ""
138 "Score" -> title = "fmt_score" ? autoscore > ""
139 "User Rating" -> title = "fmt_rating" ? rating > ""
140 "Comment" -> album ? comment ~ "" -> title = "fmt_title"
142 # Define the "same as current" sub menu
143 %menu_start "same" "Same as current"
144 "Directory" -> title ? filename ^ "#directory#"
145 "Title" -> title = "fmt_title" ? title = "#title#"
146 "Artist" -> album ? artist = "#artist#" -> title = "fmt_title"
147 "Album" -> title = "fmt_title" ? album = "#album#"
148 "Composer" -> title = "fmt_title" ? composer = "#composer#"
150 # Define the runtime sub menu
151 %menu_start "runtime" "Play history"
152 "Most played (Plays|Score)" -> title = "fmt_mostplayed" ? playcount > "0"
153 "Recently played tracks" -> title = "fmt_lastplayed" ? playcount > "0"
154 "Never played tracks" -> artist ? playcount == "0" -> album -> title = "fmt_title"
155 "Favourite artists" -> artist ? playcount > "3" & autoscore > "85" -> album -> title = "fmt_best_tracks"
156 "Favourite albums" -> album ? playcount > "3" & autoscore > "85" -> title = "fmt_best_tracks"
157 "Recent favourites" -> title = "fmt_lastplayed" ? playcount > "3" & autoscore > "85"
158 "Forgotten favourites" -> title = "fmt_forgotten" ? playcount > "3" & autoscore > "85"
161 # === Begin of main menu
164 # Define the title of the main menu
165 %menu_start "main" "Browse by..."
166 "Artist" -> artist -> album -> title = "fmt_title"
167 "Album Artist" -> albumartist -> album -> title = "fmt_title"
168 "Album" -> album -> title = "fmt_title"
169 "Genre" -> genre -> artist -> album -> title = "fmt_title"
170 "Composer" -> composer -> album -> title = "fmt_title"
172 "Year" -> year ? year > "0" -> artist -> album -> title = "fmt_title"
173 "User Rating" -> rating -> title = "fmt_title"
174 "Recently Added" -> album ? entryage < "4" & commitid > "0" -> title = "fmt_title"
175 "A to Z..." ==> "a2z"
176 "History..." ==> "runtime"
177 "Same as current..." ==> "same"
178 "Search..." ==> "search"
179 "Custom view..." ==> "custom"
181 # And finally set main menu as our root menu