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" "%s - %02d:%02d (%s)" basename Lm Ls filename ? title == "<Untagged>"
10 %format "fmt_title" "%d.%02d. %s - %02d:%02d" discnum tracknum title Lm Ls ? discnum > "0"
11 %format "fmt_title" "%02d. %s - %02d:%02d" tracknum title Lm Ls ? tracknum > "0"
12 %format "fmt_title" "%s - %02d:%02d" title Lm Ls
13 %format "fmt_alphanum_title" "%s - %02d:%02d (%s)" basename Lm Ls filename ? title == "<Untagged>"
14 %format "fmt_alphanum_title" "%s - %02d:%02d" title Lm Ls
15 %format "fmt_mostplayed" "%2d|%3d %s (%s)" playcount autoscore title artist %sort = "inverse" %limit = "100"
16 %format "fmt_lastplayed" "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"
17 %format "fmt_forgotten" "%06d%s - %s" lastplayed artist title %limit = "99" %strip = "6"
18 %format "fmt_best_tracks" "%02d. %s (%3d)" tracknum title autoscore
19 %format "fmt_score" "(%3d) %s-%s" autoscore title artist
20 %format "fmt_rating" "(%2d) %s-%s" rating title artist %sort = "inverse"
22 # Include our custom menu
23 %include "/.rockbox/tagnavi_custom.config"
26 # === Begin of "A to Z" sub menus
29 # Define the A to Z Artist sub menu
30 %menu_start "custom_artist" "Artist A to Z"
31 "Numeric" -> artist ? artist < "A" -> album -> title = "fmt_title"
32 "A" -> artist ? artist ^ "A" -> album -> title = "fmt_title"
33 "B" -> artist ? artist ^ "B" -> album -> title = "fmt_title"
34 "C" -> artist ? artist ^ "C" -> album -> title = "fmt_title"
35 "D" -> artist ? artist ^ "D" -> album -> title = "fmt_title"
36 "E" -> artist ? artist ^ "E" -> album -> title = "fmt_title"
37 "F" -> artist ? artist ^ "F" -> album -> title = "fmt_title"
38 "G" -> artist ? artist ^ "G" -> album -> title = "fmt_title"
39 "H" -> artist ? artist ^ "H" -> album -> title = "fmt_title"
40 "I" -> artist ? artist ^ "I" -> album -> title = "fmt_title"
41 "J" -> artist ? artist ^ "J" -> album -> title = "fmt_title"
42 "K" -> artist ? artist ^ "K" -> album -> title = "fmt_title"
43 "L" -> artist ? artist ^ "L" -> album -> title = "fmt_title"
44 "M" -> artist ? artist ^ "M" -> album -> title = "fmt_title"
45 "N" -> artist ? artist ^ "N" -> album -> title = "fmt_title"
46 "O" -> artist ? artist ^ "O" -> album -> title = "fmt_title"
47 "P" -> artist ? artist ^ "P" -> album -> title = "fmt_title"
48 "Q" -> artist ? artist ^ "Q" -> album -> title = "fmt_title"
49 "R" -> artist ? artist ^ "R" -> album -> title = "fmt_title"
50 "S" -> artist ? artist ^ "S" -> album -> title = "fmt_title"
51 "T" -> artist ? artist ^ "T" -> album -> title = "fmt_title"
52 "U" -> artist ? artist ^ "U" -> album -> title = "fmt_title"
53 "V" -> artist ? artist ^ "V" -> album -> title = "fmt_title"
54 "W" -> artist ? artist ^ "W" -> album -> title = "fmt_title"
55 "X" -> artist ? artist ^ "X" -> album -> title = "fmt_title"
56 "Y" -> artist ? artist ^ "Y" -> album -> title = "fmt_title"
57 "Z" -> artist ? artist ^ "Z" -> album -> title = "fmt_title"
59 # ^ An empy line ends the menu
61 # Define the A to Z album sub menu
62 %menu_start "custom_album" "Album A to Z"
63 "Numeric" -> album ? album < "A" -> title = "fmt_title"
64 "A" -> album ? album ^ "A" -> title = "fmt_title"
65 "B" -> album ? album ^ "B" -> title = "fmt_title"
66 "C" -> album ? album ^ "C" -> title = "fmt_title"
67 "D" -> album ? album ^ "D" -> title = "fmt_title"
68 "E" -> album ? album ^ "E" -> title = "fmt_title"
69 "F" -> album ? album ^ "F" -> title = "fmt_title"
70 "G" -> album ? album ^ "G" -> title = "fmt_title"
71 "H" -> album ? album ^ "H" -> title = "fmt_title"
72 "I" -> album ? album ^ "I" -> title = "fmt_title"
73 "J" -> album ? album ^ "J" -> title = "fmt_title"
74 "K" -> album ? album ^ "K" -> title = "fmt_title"
75 "L" -> album ? album ^ "L" -> title = "fmt_title"
76 "M" -> album ? album ^ "M" -> title = "fmt_title"
77 "N" -> album ? album ^ "N" -> title = "fmt_title"
78 "O" -> album ? album ^ "O" -> title = "fmt_title"
79 "P" -> album ? album ^ "P" -> title = "fmt_title"
80 "Q" -> album ? album ^ "Q" -> title = "fmt_title"
81 "R" -> album ? album ^ "R" -> title = "fmt_title"
82 "S" -> album ? album ^ "S" -> title = "fmt_title"
83 "T" -> album ? album ^ "T" -> title = "fmt_title"
84 "U" -> album ? album ^ "U" -> title = "fmt_title"
85 "V" -> album ? album ^ "V" -> title = "fmt_title"
86 "W" -> album ? album ^ "W" -> title = "fmt_title"
87 "X" -> album ? album ^ "X" -> title = "fmt_title"
88 "Y" -> album ? album ^ "Y" -> title = "fmt_title"
89 "Z" -> album ? album ^ "Z" -> title = "fmt_title"
91 # Define the A to Z track sub menu
92 %menu_start "custom_track" "Track A to Z"
93 "Numeric" -> title ? title < "A" -> title = "fmt_title"
94 "A" -> title ? title ^ "A" -> title = "fmt_title"
95 "B" -> title ? title ^ "B" -> title = "fmt_title"
96 "C" -> title ? title ^ "C" -> title = "fmt_title"
97 "D" -> title ? title ^ "D" -> title = "fmt_title"
98 "E" -> title ? title ^ "E" -> title = "fmt_title"
99 "F" -> title ? title ^ "F" -> title = "fmt_title"
100 "G" -> title ? title ^ "G" -> title = "fmt_title"
101 "H" -> title ? title ^ "H" -> title = "fmt_title"
102 "I" -> title ? title ^ "I" -> title = "fmt_title"
103 "J" -> title ? title ^ "J" -> title = "fmt_title"
104 "K" -> title ? title ^ "K" -> title = "fmt_title"
105 "L" -> title ? title ^ "L" -> title = "fmt_title"
106 "M" -> title ? title ^ "M" -> title = "fmt_title"
107 "N" -> title ? title ^ "N" -> title = "fmt_title"
108 "O" -> title ? title ^ "O" -> title = "fmt_title"
109 "P" -> title ? title ^ "P" -> title = "fmt_title"
110 "Q" -> title ? title ^ "Q" -> title = "fmt_title"
111 "R" -> title ? title ^ "R" -> title = "fmt_title"
112 "S" -> title ? title ^ "S" -> title = "fmt_title"
113 "T" -> title ? title ^ "T" -> title = "fmt_title"
114 "U" -> title ? title ^ "U" -> title = "fmt_title"
115 "V" -> title ? title ^ "V" -> title = "fmt_title"
116 "W" -> title ? title ^ "W" -> title = "fmt_title"
117 "X" -> title ? title ^ "X" -> title = "fmt_title"
118 "Y" -> title ? title ^ "Y" -> title = "fmt_title"
119 "Z" -> title ? title ^ "Z" -> title = "fmt_title"
121 # Define the A to Z sub menu
122 %menu_start "a2z" "A to Z..."
123 "Artists" ==> "custom_artist"
124 "Albums" ==> "custom_album"
125 "Tracks" ==> "custom_track"
128 # === Begin of "Search by..." sub menu
131 # Define the search sub menu
132 %menu_start "search" "Search by..."
133 "Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title"
134 "Album Artist" -> albumartist ? albumartist ~ "" -> album -> title = "fmt_title"
135 "Album" -> album ? album ~ "" -> title = "fmt_title"
136 "Title" -> title = "fmt_title" ? title ~ ""
137 "Album by year" -> album ? year = "" -> title = "fmt_title"
138 "Artist between years" -> artist ? year >= "" & year <= "" -> album -> title = "fmt_title"
139 "Album between years" -> album ? year >= "" & year <= "" -> title = "fmt_title"
140 "Filename" -> filename ? filename ~ ""
141 "Score" -> title = "fmt_score" ? autoscore > ""
142 "User Rating" -> title = "fmt_rating" ? rating > ""
143 "Comment" -> album ? comment ~ "" -> title = "fmt_title"
145 # Define the "same as current" sub menu
146 %menu_start "same" "Same as current"
147 "Directory" -> title ? filename ^ "#directory#"
148 "Title" -> title = "fmt_title" ? title = "#title#"
149 "Artist" -> album ? artist = "#artist#" -> title = "fmt_title"
150 "Album" -> title = "fmt_title" ? album = "#album#"
151 "Composer" -> title = "fmt_title" ? composer = "#composer#"
153 # Define the runtime sub menu
154 %menu_start "runtime" "Play history"
155 "Most played (Plays|Score)" -> title = "fmt_mostplayed" ? playcount > "0"
156 "Recently played tracks" -> title = "fmt_lastplayed" ? playcount > "0"
157 "Never played tracks" -> artist ? playcount == "0" -> album -> title = "fmt_title"
158 "Favourite artists" -> artist ? playcount > "3" & autoscore > "85" -> album -> title = "fmt_best_tracks"
159 "Favourite albums" -> album ? playcount > "3" & autoscore > "85" -> title = "fmt_best_tracks"
160 "Recent favourites" -> title = "fmt_lastplayed" ? playcount > "3" & autoscore > "85"
161 "New favourites" -> artist ? playcount <= "3" & autoscore > "85" -> album -> title = "fmt_best_tracks"
162 "Forgotten favourites" -> title = "fmt_forgotten" ? playcount > "3" & autoscore > "85"
165 # === Begin of main menu
168 # Define the title of the main menu
169 %menu_start "main" "Database"
170 "Artist" -> artist -> album -> title = "fmt_title"
171 "Album Artist" -> albumartist -> album -> title = "fmt_title"
172 "Album" -> album -> title = "fmt_title"
173 "Genre" -> genre -> artist -> album -> title = "fmt_title"
174 "Composer" -> composer -> album -> title = "fmt_title"
175 "Track" -> title = "fmt_alphanum_title"
176 "Year" -> year ? year > "0" -> artist -> album -> title = "fmt_title"
177 "User Rating" -> rating -> title = "fmt_title"
178 "Recently Added" -> album ? entryage < "4" & commitid > "0" -> title = "fmt_title"
179 "A to Z..." ==> "a2z"
180 "History..." ==> "runtime"
181 "Same as current..." ==> "same"
182 "Search..." ==> "search"
183 "Custom view..." ==> "custom"
185 # And finally set main menu as our root menu