make sure closing the application aborts the remaining HttpGet objects. Should fix...
[Rockbox.git] / apps / tagnavi.config
blob2a98a7f93b1a58657e789698ce1a02e4dfd168a1
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" & artist !^ "The " -> album  -> title = "fmt_title"
49 "The"   -> artist ? artist ^ "The " -> album  -> title = "fmt_title"
50 "U"   -> artist ? artist ^ "U" -> album  -> title = "fmt_title"
51 "V"   -> artist ? artist ^ "V" -> album  -> title = "fmt_title"
52 "W"   -> artist ? artist ^ "W" -> album  -> title = "fmt_title"
53 "X"   -> artist ? artist ^ "X" -> album  -> title = "fmt_title"
54 "Y"   -> artist ? artist ^ "Y" -> album  -> title = "fmt_title"
55 "Z"   -> artist ? artist ^ "Z" -> album  -> title = "fmt_title"
57 # ^ An empy line ends the menu
59 # Define the A to Z album sub menu
60 %menu_start "custom_album" "Album A to Z"
61 "Numeric"   -> album ? album < "A" ->  title = "fmt_title"
62 "A"   -> album ? album ^ "A" ->  title = "fmt_title"
63 "B"   -> album ? album ^ "B" ->  title = "fmt_title"
64 "C"   -> album ? album ^ "C" ->  title = "fmt_title"
65 "D"   -> album ? album ^ "D" ->  title = "fmt_title"
66 "E"   -> album ? album ^ "E" ->  title = "fmt_title"
67 "F"   -> album ? album ^ "F" ->  title = "fmt_title"
68 "G"   -> album ? album ^ "G" ->  title = "fmt_title"
69 "H"   -> album ? album ^ "H" ->  title = "fmt_title"
70 "I"   -> album ? album ^ "I" ->  title = "fmt_title"
71 "J"   -> album ? album ^ "J" ->  title = "fmt_title"
72 "K"   -> album ? album ^ "K" ->  title = "fmt_title"
73 "L"   -> album ? album ^ "L" ->  title = "fmt_title"
74 "M"   -> album ? album ^ "M" ->  title = "fmt_title"
75 "N"   -> album ? album ^ "N" ->  title = "fmt_title"
76 "O"   -> album ? album ^ "O" ->  title = "fmt_title"
77 "P"   -> album ? album ^ "P" ->  title = "fmt_title"
78 "Q"   -> album ? album ^ "Q" ->  title = "fmt_title"
79 "R"   -> album ? album ^ "R" ->  title = "fmt_title"
80 "S"   -> album ? album ^ "S" ->  title = "fmt_title"
81 "T"   -> album ? album ^ "T" & artist !^ "The " ->  title = "fmt_title"
82 "The"   -> album ? album ^ "The " ->  title = "fmt_title"
83 "U"   -> album ? album ^ "U" ->  title = "fmt_title"
84 "V"   -> album ? album ^ "V" ->  title = "fmt_title"
85 "W"   -> album ? album ^ "W" ->  title = "fmt_title"
86 "X"   -> album ? album ^ "X" ->  title = "fmt_title"
87 "Y"   -> album ? album ^ "Y" ->  title = "fmt_title"
88 "Z"   -> album ? album ^ "Z" ->  title = "fmt_title"
90 # Define the A to Z sub menu
91 %menu_start "a2z" "A to Z..."
92 "Artists" ==> "custom_artist"
93 "Albums" ==> "custom_album"
96 # === Begin of "Search by..." sub menu
99 # Define the search sub menu
100 %menu_start "search" "Search by..."
101 "Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title"
102 "Album Artist" -> albumartist ? albumartist ~ "" -> album -> title = "fmt_title"
103 "Album" -> album ? album ~ "" -> title = "fmt_title"
104 "Title" -> title = "fmt_title" ? title ~ ""
105 "Album by year" -> album ? year = "" -> title = "fmt_title"
106 "Artist between years" -> artist ? year >= "" & year <= "" -> album -> title = "fmt_title"
107 "Album between years" -> album ? year >= "" & year <= "" -> title = "fmt_title"
108 "Filename" -> filename ? filename ~ ""
109 "Score" -> title = "fmt_score" ? autoscore > ""
110 "User Rating" -> title = "fmt_rating" ? rating > ""
111 "Comment" -> album ? comment ~ "" -> title = "fmt_title"
113 # Define the runtime sub menu
114 %menu_start "runtime" "Play history"
115 "Most played (Plays|Score)" -> title = "fmt_mostplayed" ? playcount > "0"
116 "Recently played tracks" -> title = "fmt_lastplayed" ? playcount > "0"
117 "Never played tracks" -> artist ? playcount == "0" -> album -> title = "fmt_title"
118 "Favourite artists" -> artist ? playcount > "3" & autoscore > "85" -> album -> title = "fmt_best_tracks"
119 "Favourite albums" -> album ? playcount > "3" & autoscore > "85" -> title = "fmt_best_tracks"
120 "Recent favourites" -> title = "fmt_lastplayed" ? playcount > "3" & autoscore > "85"
121 "Forgotten favourites" -> title = "fmt_forgotten" ? playcount > "3" & autoscore > "85"
124 # === Begin of main menu
127 # Define the title of the main menu
128 %menu_start "main" "Browse by..."
129 "Artist"   -> artist   -> album  -> title = "fmt_title"
130 "Album Artist"   -> albumartist   -> album  -> title = "fmt_title"
131 "Album"    -> album    -> title = "fmt_title"
132 "Genre"    -> genre    -> artist -> album -> title = "fmt_title"
133 "Composer" -> composer -> album -> title = "fmt_title"
134 "Track"    -> title
135 "Year"     -> year ? year > "0" -> artist -> album -> title = "fmt_title"
136 "User Rating" -> rating -> title = "fmt_title"
137 "Recently Added" -> album ? entryage < "4" & commitid > "0" -> title = "fmt_title"
138 "A to Z..." ==> "a2z"
139 "History..." ==> "runtime"
140 "Search..." ==> "search"
141 "Custom view..."  ==> "custom"
143 # And finally set main menu as our root menu
144 %root_menu "main"