2006-09-19 11:54:33 +00:00
|
|
|
#! rockbox/tagbrowser/2.0
|
|
|
|
# ^ Version header must be the first line of every file
|
|
|
|
|
|
|
|
# Tag Browser configuration file, do not edit as changes will be lost!
|
|
|
|
# Instead, you can modify "/.rockbox/tagnavi_custom.config" which will never
|
|
|
|
# get overwritten automatically.
|
|
|
|
|
2006-10-15 11:01:18 +00:00
|
|
|
# Basic format declarations
|
|
|
|
%format "fmt_title" "%02d. %s" tracknum title ? tracknum > "0"
|
|
|
|
%format "fmt_title" "%s" title
|
2006-10-24 16:20:48 +00:00
|
|
|
%format "fmt_mostplayed" "(%3d) %s - %s" playcount artist title %sort = "inverse" %limit = "100"
|
|
|
|
%format "fmt_lastplayed" "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"
|
2007-03-26 15:08:59 +00:00
|
|
|
%format "fmt_best_tracks" "%02d. %s (%2d)" tracknum title rating %sort = "inverse"
|
2006-10-15 11:01:18 +00:00
|
|
|
%format "fmt_played" "(%3d/%d) %s" autoscore playcount title
|
|
|
|
%format "fmt_score" "(%3d) %s" autoscore title
|
2007-03-26 15:08:59 +00:00
|
|
|
%format "fmt_rating" "(%2d) %s" rating title %sort = "inverse"
|
2006-10-15 11:01:18 +00:00
|
|
|
|
2006-09-19 11:54:33 +00:00
|
|
|
# Include our custom menu
|
|
|
|
%include "/.rockbox/tagnavi_custom.config"
|
|
|
|
|
|
|
|
#
|
|
|
|
# === Begin of "Search by..." sub menu
|
|
|
|
#
|
|
|
|
|
|
|
|
# Define the search sub menu
|
|
|
|
%menu_start "search" "Search by..."
|
2006-10-15 11:01:18 +00:00
|
|
|
"Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title"
|
|
|
|
"Album" -> album ? album ~ "" -> title = "fmt_title"
|
2006-09-19 11:54:33 +00:00
|
|
|
"Title" -> title ? title ~ ""
|
|
|
|
"Filename" -> filename ? filename ~ ""
|
2006-10-15 11:01:18 +00:00
|
|
|
"Score" -> title = "fmt_score" ? autoscore > ""
|
2007-03-26 15:08:59 +00:00
|
|
|
"Rating" -> title = "fmt_rating" ? rating > ""
|
2006-09-19 11:54:33 +00:00
|
|
|
|
|
|
|
# ^ An empy line ends the menu
|
|
|
|
|
|
|
|
#
|
|
|
|
# === Begin of main menu
|
|
|
|
#
|
|
|
|
|
|
|
|
# Define the title of the main menu
|
|
|
|
%menu_start "main" "Browse by..."
|
2006-10-15 11:01:18 +00:00
|
|
|
"Artist" -> artist -> album -> title = "fmt_title"
|
|
|
|
"Album" -> album -> title = "fmt_title"
|
|
|
|
"Genre" -> genre -> artist -> album -> title = "fmt_title"
|
|
|
|
"Composer" -> composer -> album -> title = "fmt_title"
|
2006-09-19 11:54:33 +00:00
|
|
|
"Track" -> title
|
2007-03-26 15:08:59 +00:00
|
|
|
"Rating" -> rating -> title = "fmt_rating"
|
2006-10-15 11:01:18 +00:00
|
|
|
"Year" -> year ? year > "1000" & year < "2008" -> artist -> album -> title = "fmt_title"
|
2006-09-19 11:54:33 +00:00
|
|
|
"Search..." ==> "search"
|
2006-10-15 11:01:18 +00:00
|
|
|
"Most played tracks" -> title = "fmt_mostplayed" ? playcount > "0"
|
|
|
|
"Last played tracks" -> title = "fmt_lastplayed" ? playcount > "0"
|
|
|
|
"Never played tracks" -> artist ? playcount == "0" -> album -> title = "fmt_title"
|
2007-03-26 15:08:59 +00:00
|
|
|
"Best tracks" -> artist ? playcount > "1" & rating > "8" -> album -> title = "fmt_best_tracks"
|
2006-10-15 11:01:18 +00:00
|
|
|
"List played tracks" -> title = "fmt_played" ? playcount > "0"
|
2007-02-25 20:41:51 +00:00
|
|
|
"Last added tracks" -> artist ? entryage == "0" -> album -> title = "fmt_title"
|
2006-09-19 11:54:33 +00:00
|
|
|
"Custom view..." ==> "custom"
|
|
|
|
|
|
|
|
# And finally set main menu as our root menu
|
|
|
|
%root_menu "main"
|
2006-10-15 11:01:18 +00:00
|
|
|
|