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" "%02d. %s - %02d:%02d" tracknum title Lm Ls ? tracknum > "0"
10 %format "fmt_title" "%s - %02d:%02d" title Lm Ls
11 %format "fmt_mostplayed" "%2d|%3d %s (%s)" playcount autoscore title artist %sort = "inverse" %limit = "100"
12 %format "fmt_lastplayed" "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"
13 %format "fmt_forgotten" "%06d%s - %s" lastplayed artist title %limit = "99" %strip = "6"
14 %format "fmt_best_tracks" "%02d. %s (%3d)" tracknum title autoscore
15 %format "fmt_score" "(%3d) %s-%s" autoscore title artist
16 %format "fmt_rating" "(%2d) %s-%s" rating title artist %sort = "inverse"
18 # Include our custom menu
19 %include "/.rockbox/tagnavi_custom.config"
22 # === Begin of "A to Z" sub menus
25 # Define the A to Z Artist sub menu
26 %menu_start "custom_artist" "Artist A to Z"
27 "Numeric" -> artist ? artist < "A" -> album -> title = "fmt_title"
28 "A" -> artist ? artist ^ "A" -> album -> title = "fmt_title"
29 "B" -> artist ? artist ^ "B" -> album -> title = "fmt_title"
30 "C" -> artist ? artist ^ "C" -> album -> title = "fmt_title"
31 "D" -> artist ? artist ^ "D" -> album -> title = "fmt_title"
32 "E" -> artist ? artist ^ "E" -> album -> title = "fmt_title"
33 "F" -> artist ? artist ^ "F" -> album -> title = "fmt_title"
34 "G" -> artist ? artist ^ "G" -> album -> title = "fmt_title"
35 "H" -> artist ? artist ^ "H" -> album -> title = "fmt_title"
36 "I" -> artist ? artist ^ "I" -> album -> title = "fmt_title"
37 "J" -> artist ? artist ^ "J" -> album -> title = "fmt_title"
38 "K" -> artist ? artist ^ "K" -> album -> title = "fmt_title"
39 "L" -> artist ? artist ^ "L" -> album -> title = "fmt_title"
40 "M" -> artist ? artist ^ "M" -> album -> title = "fmt_title"
41 "N" -> artist ? artist ^ "N" -> album -> title = "fmt_title"
42 "O" -> artist ? artist ^ "O" -> album -> title = "fmt_title"
43 "P" -> artist ? artist ^ "P" -> album -> title = "fmt_title"
44 "Q" -> artist ? artist ^ "Q" -> album -> title = "fmt_title"
45 "R" -> artist ? artist ^ "R" -> album -> title = "fmt_title"
46 "S" -> artist ? artist ^ "S" -> album -> title = "fmt_title"
47 "T" -> artist ? artist ^ "T" & artist !^ "The " -> album -> title = "fmt_title"
48 "The" -> artist ? artist ^ "The " -> 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" & artist !^ "The " -> title = "fmt_title"
81 "The" -> album ? album ^ "The " -> title = "fmt_title"
82 "U" -> album ? album ^ "U" -> title = "fmt_title"
83 "V" -> album ? album ^ "V" -> title = "fmt_title"
84 "W" -> album ? album ^ "W" -> title = "fmt_title"
85 "X" -> album ? album ^ "X" -> title = "fmt_title"
86 "Y" -> album ? album ^ "Y" -> title = "fmt_title"
87 "Z" -> album ? album ^ "Z" -> title = "fmt_title"
89 # Define the A to Z sub menu
90 %menu_start "a2z" "A to Z..."
91 "Artists" ==> "custom_artist"
92 "Albums" ==> "custom_album"
95 # === Begin of "Search by..." sub menu
98 # Define the search sub menu
99 %menu_start "search" "Search by..."
100 "Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title"
101 "Album Artist" -> albumartist ? albumartist ~ "" -> album -> title = "fmt_title"
102 "Album" -> album ? album ~ "" -> title = "fmt_title"
103 "Title" -> title = "fmt_title" ? title ~ ""
104 "Album by year" -> album ? year = "" -> title = "fmt_title"
105 "Artist between years" -> artist ? year >= "" & year <= "" -> album -> title = "fmt_title"
106 "Album between years" -> album ? year >= "" & year <= "" -> title = "fmt_title"
107 "Filename" -> filename ? filename ~ ""
108 "Score" -> title = "fmt_score" ? autoscore > ""
109 "User Rating" -> title = "fmt_rating" ? rating > ""
110 "Comment" -> album ? comment ~ "" -> title = "fmt_title"
112 # Define the runtime sub menu
113 %menu_start "runtime" "Play history"
114 "Most played (Plays|Score)" -> title = "fmt_mostplayed" ? playcount > "0"
115 "Recently played tracks" -> title = "fmt_lastplayed" ? playcount > "0"
116 "Never played tracks" -> artist ? playcount == "0" -> album -> title = "fmt_title"
117 "Favourite artists" -> artist ? playcount > "3" & autoscore > "85" -> album -> title = "fmt_best_tracks"
118 "Favourite albums" -> album ? playcount > "3" & autoscore > "85" -> title = "fmt_best_tracks"
119 "Recent favourites" -> title = "fmt_lastplayed" ? playcount > "3" & autoscore > "85"
120 "Forgotten favourites" -> title = "fmt_forgotten" ? playcount > "3" & autoscore > "85"
123 # === Begin of main menu
126 # Define the title of the main menu
127 %menu_start "main" "Browse by..."
128 "Artist" -> artist -> album -> title = "fmt_title"
129 "Album Artist" -> albumartist -> album -> title = "fmt_title"
130 "Album" -> album -> title = "fmt_title"
131 "Genre" -> genre -> artist -> album -> title = "fmt_title"
132 "Composer" -> composer -> album -> title = "fmt_title"
134 "Year" -> year ? year > "0" -> artist -> album -> title = "fmt_title"
135 "User Rating" -> rating -> title = "fmt_title"
136 "Recently Added" -> album ? entryage < "4" & commitid > "0" -> title = "fmt_title"
137 "A to Z..." ==> "a2z"
138 "History..." ==> "runtime"
139 "Search..." ==> "search"
140 "Custom view..." ==> "custom"
142 # And finally set main menu as our root menu