blob: 6637ffa4f1d607f0e7977d40f36f39a2e1923f55 [file] [log] [blame]
Miika Pekkarinenba34c372006-09-19 11:54:33 +00001#! rockbox/tagbrowser/2.0
2# ^ Version header must be the first line of every file
3
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.
7
Miika Pekkarinenb89b5ba2006-10-15 11:01:18 +00008# Basic format declarations
Dan Evertonf4a61f02007-08-03 10:00:42 +00009%format "fmt_title" "%d.%02d. %s" discnum tracknum title ? discnum > "0"
Miika Pekkarinen9d9937a2007-04-12 20:14:05 +000010%format "fmt_title" "%02d. %s - %02d:%02d" tracknum title Lm Ls ? tracknum > "0"
11%format "fmt_title" "%s - %02d:%02d" title Lm Ls
Miika Pekkarinencf5671d2007-03-31 17:03:48 +000012%format "fmt_mostplayed" "%2d|%3d %s (%s)" playcount autoscore title artist %sort = "inverse" %limit = "100"
Miika Pekkarinen02df5a82006-10-24 16:20:48 +000013%format "fmt_lastplayed" "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"
Miika Pekkarinencf5671d2007-03-31 17:03:48 +000014%format "fmt_forgotten" "%06d%s - %s" lastplayed artist title %limit = "99" %strip = "6"
15%format "fmt_best_tracks" "%02d. %s (%3d)" tracknum title autoscore
Miika Pekkarinencf5671d2007-03-31 17:03:48 +000016%format "fmt_score" "(%3d) %s-%s" autoscore title artist
Miika Pekkarinen0b5998c2007-04-07 11:23:08 +000017%format "fmt_rating" "(%2d) %s-%s" rating title artist %sort = "inverse"
Miika Pekkarinenb89b5ba2006-10-15 11:01:18 +000018
Miika Pekkarinenba34c372006-09-19 11:54:33 +000019# Include our custom menu
20%include "/.rockbox/tagnavi_custom.config"
21
22#
Miika Pekkarinencf5671d2007-03-31 17:03:48 +000023# === Begin of "A to Z" sub menus
24#
25
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"
Steve Bavina25b76e2007-10-17 13:53:48 +000048"T" -> artist ? artist ^ "T" -> album -> title = "fmt_title"
Miika Pekkarinencf5671d2007-03-31 17:03:48 +000049"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"
55
56# ^ An empy line ends the menu
57
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"
Steve Bavina25b76e2007-10-17 13:53:48 +000080"T" -> album ? album ^ "T" -> title = "fmt_title"
Miika Pekkarinencf5671d2007-03-31 17:03:48 +000081"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"
87
Steve Bavinb1caffc2007-10-17 12:23:21 +000088# 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"
Steve Bavina25b76e2007-10-17 13:53:48 +0000110"T" -> title ? title ^ "T" -> title = "fmt_title"
Steve Bavinb1caffc2007-10-17 12:23:21 +0000111"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"
117
Miika Pekkarinencf5671d2007-03-31 17:03:48 +0000118# Define the A to Z sub menu
119%menu_start "a2z" "A to Z..."
120"Artists" ==> "custom_artist"
121"Albums" ==> "custom_album"
Steve Bavinb1caffc2007-10-17 12:23:21 +0000122"Tracks" ==> "custom_track"
Miika Pekkarinencf5671d2007-03-31 17:03:48 +0000123
124#
Miika Pekkarinenba34c372006-09-19 11:54:33 +0000125# === Begin of "Search by..." sub menu
126#
127
128# Define the search sub menu
129%menu_start "search" "Search by..."
Miika Pekkarinenb89b5ba2006-10-15 11:01:18 +0000130"Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title"
Miika Pekkarinencf5671d2007-03-31 17:03:48 +0000131"Album Artist" -> albumartist ? albumartist ~ "" -> album -> title = "fmt_title"
Miika Pekkarinenb89b5ba2006-10-15 11:01:18 +0000132"Album" -> album ? album ~ "" -> title = "fmt_title"
Miika Pekkarinencf5671d2007-03-31 17:03:48 +0000133"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"
Miika Pekkarinenba34c372006-09-19 11:54:33 +0000137"Filename" -> filename ? filename ~ ""
Miika Pekkarinenb89b5ba2006-10-15 11:01:18 +0000138"Score" -> title = "fmt_score" ? autoscore > ""
Miika Pekkarinen0b5998c2007-04-07 11:23:08 +0000139"User Rating" -> title = "fmt_rating" ? rating > ""
Miika Pekkarinencf5671d2007-03-31 17:03:48 +0000140"Comment" -> album ? comment ~ "" -> title = "fmt_title"
Miika Pekkarinenba34c372006-09-19 11:54:33 +0000141
Jonathan Gordon4d18aa32007-10-29 12:02:55 +0000142# Define the "same as current" sub menu
143%menu_start "same" "Same as current"
Robert Kuklac4366572007-10-30 10:02:57 +0000144"Directory" -> title ? filename ^ "#directory#"
145"Title" -> title = "fmt_title" ? title = "#title#"
Jonathan Gordon4d18aa32007-10-29 12:02:55 +0000146"Artist" -> album ? artist = "#artist#" -> title = "fmt_title"
Robert Kukladd12c6c2007-11-02 16:44:13 +0000147"Album" -> title = "fmt_title" ? album = "#album#"
Robert Kuklac4366572007-10-30 10:02:57 +0000148"Composer" -> title = "fmt_title" ? composer = "#composer#"
Jonathan Gordon4d18aa32007-10-29 12:02:55 +0000149
Miika Pekkarinencf5671d2007-03-31 17:03:48 +0000150# 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"
Miika Pekkarinen1e16e0e2007-12-16 13:51:39 +0000158"New favourites" -> artist ? playcount <= "3" & autoscore > "85" -> album -> title = "fmt_best_tracks"
Miika Pekkarinencf5671d2007-03-31 17:03:48 +0000159"Forgotten favourites" -> title = "fmt_forgotten" ? playcount > "3" & autoscore > "85"
Miika Pekkarinenba34c372006-09-19 11:54:33 +0000160
161#
162# === Begin of main menu
163#
164
165# Define the title of the main menu
Steve Bavin387e0812008-01-07 12:16:50 +0000166%menu_start "main" "Database"
Miika Pekkarinenb89b5ba2006-10-15 11:01:18 +0000167"Artist" -> artist -> album -> title = "fmt_title"
Miika Pekkarinencf5671d2007-03-31 17:03:48 +0000168"Album Artist" -> albumartist -> album -> title = "fmt_title"
Miika Pekkarinenb89b5ba2006-10-15 11:01:18 +0000169"Album" -> album -> title = "fmt_title"
170"Genre" -> genre -> artist -> album -> title = "fmt_title"
171"Composer" -> composer -> album -> title = "fmt_title"
Miika Pekkarinenba34c372006-09-19 11:54:33 +0000172"Track" -> title
Miika Pekkarinencf5671d2007-03-31 17:03:48 +0000173"Year" -> year ? year > "0" -> artist -> album -> title = "fmt_title"
Miika Pekkarinen0b5998c2007-04-07 11:23:08 +0000174"User Rating" -> rating -> title = "fmt_title"
Miika Pekkarinencf5671d2007-03-31 17:03:48 +0000175"Recently Added" -> album ? entryage < "4" & commitid > "0" -> title = "fmt_title"
176"A to Z..." ==> "a2z"
177"History..." ==> "runtime"
Jonathan Gordon4d18aa32007-10-29 12:02:55 +0000178"Same as current..." ==> "same"
Miika Pekkarinenba34c372006-09-19 11:54:33 +0000179"Search..." ==> "search"
Miika Pekkarinenba34c372006-09-19 11:54:33 +0000180"Custom view..." ==> "custom"
181
182# And finally set main menu as our root menu
183%root_menu "main"