summaryrefslogtreecommitdiff
path: root/apps/tagnavi.config
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-09-19 11:54:33 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-09-19 11:54:33 +0000
commitba34c379676f629d94b80d0c4076e6b08ade171e (patch)
tree5aa0ad237f799c01f8b80a25dddb2a974399b767 /apps/tagnavi.config
parent1d5b248f7b8ed9a82f63587f9090556a45885405 (diff)
downloadrockbox-ba34c379676f629d94b80d0c4076e6b08ade171e.tar.gz
rockbox-ba34c379676f629d94b80d0c4076e6b08ade171e.zip
Improved tag browser configuration file syntax with submenus and
includes (custom user menu, without overwriting by default menu). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11000 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagnavi.config')
-rw-r--r--apps/tagnavi.config61
1 files changed, 46 insertions, 15 deletions
diff --git a/apps/tagnavi.config b/apps/tagnavi.config
index 55418718bf..9821c30faf 100644
--- a/apps/tagnavi.config
+++ b/apps/tagnavi.config
@@ -1,15 +1,46 @@
1"Artist" artist : album : title = "%02d. %s" tracknum title 1#! rockbox/tagbrowser/2.0
2"Album" album : title = "%02d. %s" tracknum title 2# ^ Version header must be the first line of every file
3"Genre" genre : artist : album : title = "%02d. %s" tracknum title 3
4"Composer" composer : album : title = "%02d. %s" tracknum title 4# Tag Browser configuration file, do not edit as changes will be lost!
5"Track" title 5# Instead, you can modify "/.rockbox/tagnavi_custom.config" which will never
6"Year" year ? year > "1000" & year < "2008" : artist : album : title = "%02d. %s" tracknum title 6# get overwritten automatically.
7"Search by artist" artist ? artist ~ "" : album : title = "%02d. %s" tracknum title 7
8"Search by album" album ? album ~ "" : title = "%02d. %s" tracknum title 8# Include our custom menu
9"Search by title" title ? title ~ "" 9%include "/.rockbox/tagnavi_custom.config"
10"Search by filename" filename ? filename ~ "" 10
11"Search by score" title = "(%3d) %s" autoscore title ? autoscore > "" 11#
12"Most played tracks" title = "(%3d) %s" playcount title %sort = "inverse" %limit = "100" ? playcount > "0" 12# === Begin of "Search by..." sub menu
13"Never played tracks" artist ? playcount == "0" : album : title = "%02d. %s" tracknum title 13#
14"Best tracks" artist ? playcount > "1" & autoscore > "85" : album : title = "%02d. %s (%3d)" tracknum title autoscore 14
15"List played tracks" title = "(%3d/%d) %s" autoscore playcount title ? playcount > "0" 15# Define the search sub menu
16%menu_start "search" "Search by..."
17"Artist" -> artist ? artist ~ "" -> album -> title = "%02d. %s" tracknum title
18"Artist -> (score > 85)" artist ? artist ~ "" & autoscore >= "85" -> album -> title = "%02d. %s" tracknum title
19"Album" -> album ? album ~ "" -> title = "%02d. %s" tracknum title
20"Title" -> title ? title ~ ""
21"Filename" -> filename ? filename ~ ""
22"Score" -> title = "(%3d) %s" autoscore title ? autoscore > ""
23
24# ^ An empy line ends the menu
25
26#
27# === Begin of main menu
28#
29
30# Define the title of the main menu
31%menu_start "main" "Browse by..."
32"Artist" -> artist -> album -> title = "%02d. %s" tracknum title
33"Album" -> album -> title = "%02d. %s" tracknum title
34"Genre" -> genre -> artist -> album -> title = "%02d. %s" tracknum title
35"Composer" -> composer -> album -> title = "%02d. %s" tracknum title
36"Track" -> title
37"Year" -> year ? year > "1000" & year < "2008" -> artist -> album -> title = "%02d. %s" tracknum title
38"Search..." ==> "search"
39"Most played tracks" -> title = "(%3d) %s" playcount title %sort = "inverse" %limit = "100" ? playcount > "0"
40"Never played tracks" -> artist ? playcount == "0" -> album -> title = "%02d. %s" tracknum title
41"Best tracks" -> artist ? playcount > "1" & autoscore > "85" -> album -> title = "%02d. %s (%3d)" tracknum title autoscore
42"List played tracks" -> title = "(%3d/%d) %s" autoscore playcount title ? playcount > "0"
43"Custom view..." ==> "custom"
44
45# And finally set main menu as our root menu
46%root_menu "main"