FS#6890 Reworking of the default tagnavi.config file.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12984 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2007-03-31 17:03:48 +00:00
parent e041a3200b
commit cf5671d75f
2 changed files with 99 additions and 15 deletions

View file

@ -8,16 +8,90 @@
# Basic format declarations # Basic format declarations
%format "fmt_title" "%02d. %s" tracknum title ? tracknum > "0" %format "fmt_title" "%02d. %s" tracknum title ? tracknum > "0"
%format "fmt_title" "%s" title %format "fmt_title" "%s" title
%format "fmt_mostplayed" "(%3d) %s - %s" playcount artist title %sort = "inverse" %limit = "100" %format "fmt_mostplayed" "%2d|%3d %s (%s)" playcount autoscore title artist %sort = "inverse" %limit = "100"
%format "fmt_lastplayed" "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6" %format "fmt_lastplayed" "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"
%format "fmt_best_tracks" "%02d. %s (%2d)" tracknum title rating %sort = "inverse" %format "fmt_forgotten" "%06d%s - %s" lastplayed artist title %limit = "99" %strip = "6"
%format "fmt_best_tracks" "%02d. %s (%3d)" tracknum title autoscore
%format "fmt_played" "(%3d/%d) %s" autoscore playcount title %format "fmt_played" "(%3d/%d) %s" autoscore playcount title
%format "fmt_score" "(%3d) %s" autoscore title %format "fmt_score" "(%3d) %s-%s" autoscore title artist
%format "fmt_rating" "(%2d) %s" rating title %sort = "inverse" %format "fmt_rating" "(%2d) %s-%s" rating title artist
# Include our custom menu # Include our custom menu
%include "/.rockbox/tagnavi_custom.config" %include "/.rockbox/tagnavi_custom.config"
#
# === Begin of "A to Z" sub menus
#
# Define the A to Z Artist sub menu
%menu_start "custom_artist" "Artist A to Z"
"Numeric" -> artist ? artist < "A" -> album -> title = "fmt_title"
"A" -> artist ? artist ^ "A" -> album -> title = "fmt_title"
"B" -> artist ? artist ^ "B" -> album -> title = "fmt_title"
"C" -> artist ? artist ^ "C" -> album -> title = "fmt_title"
"D" -> artist ? artist ^ "D" -> album -> title = "fmt_title"
"E" -> artist ? artist ^ "E" -> album -> title = "fmt_title"
"F" -> artist ? artist ^ "F" -> album -> title = "fmt_title"
"G" -> artist ? artist ^ "G" -> album -> title = "fmt_title"
"H" -> artist ? artist ^ "H" -> album -> title = "fmt_title"
"I" -> artist ? artist ^ "I" -> album -> title = "fmt_title"
"J" -> artist ? artist ^ "J" -> album -> title = "fmt_title"
"K" -> artist ? artist ^ "K" -> album -> title = "fmt_title"
"L" -> artist ? artist ^ "L" -> album -> title = "fmt_title"
"M" -> artist ? artist ^ "M" -> album -> title = "fmt_title"
"N" -> artist ? artist ^ "N" -> album -> title = "fmt_title"
"O" -> artist ? artist ^ "O" -> album -> title = "fmt_title"
"P" -> artist ? artist ^ "P" -> album -> title = "fmt_title"
"Q" -> artist ? artist ^ "Q" -> album -> title = "fmt_title"
"R" -> artist ? artist ^ "R" -> album -> title = "fmt_title"
"S" -> artist ? artist ^ "S" -> album -> title = "fmt_title"
"T" -> artist ? artist ^ "T" & artist !^ "The " -> album -> title = "fmt_title"
"The" -> artist ? artist ^ "The " -> album -> title = "fmt_title"
"U" -> artist ? artist ^ "U" -> album -> title = "fmt_title"
"V" -> artist ? artist ^ "V" -> album -> title = "fmt_title"
"W" -> artist ? artist ^ "W" -> album -> title = "fmt_title"
"X" -> artist ? artist ^ "X" -> album -> title = "fmt_title"
"Y" -> artist ? artist ^ "Y" -> album -> title = "fmt_title"
"Z" -> artist ? artist ^ "Z" -> album -> title = "fmt_title"
# ^ An empy line ends the menu
# Define the A to Z album sub menu
%menu_start "custom_album" "Album A to Z"
"Numeric" -> album ? album < "A" -> title = "fmt_title"
"A" -> album ? album ^ "A" -> title = "fmt_title"
"B" -> album ? album ^ "B" -> title = "fmt_title"
"C" -> album ? album ^ "C" -> title = "fmt_title"
"D" -> album ? album ^ "D" -> title = "fmt_title"
"E" -> album ? album ^ "E" -> title = "fmt_title"
"F" -> album ? album ^ "F" -> title = "fmt_title"
"G" -> album ? album ^ "G" -> title = "fmt_title"
"H" -> album ? album ^ "H" -> title = "fmt_title"
"I" -> album ? album ^ "I" -> title = "fmt_title"
"J" -> album ? album ^ "J" -> title = "fmt_title"
"K" -> album ? album ^ "K" -> title = "fmt_title"
"L" -> album ? album ^ "L" -> title = "fmt_title"
"M" -> album ? album ^ "M" -> title = "fmt_title"
"N" -> album ? album ^ "N" -> title = "fmt_title"
"O" -> album ? album ^ "O" -> title = "fmt_title"
"P" -> album ? album ^ "P" -> title = "fmt_title"
"Q" -> album ? album ^ "Q" -> title = "fmt_title"
"R" -> album ? album ^ "R" -> title = "fmt_title"
"S" -> album ? album ^ "S" -> title = "fmt_title"
"T" -> album ? album ^ "T" & artist !^ "The " -> title = "fmt_title"
"The" -> album ? album ^ "The " -> title = "fmt_title"
"U" -> album ? album ^ "U" -> title = "fmt_title"
"V" -> album ? album ^ "V" -> title = "fmt_title"
"W" -> album ? album ^ "W" -> title = "fmt_title"
"X" -> album ? album ^ "X" -> title = "fmt_title"
"Y" -> album ? album ^ "Y" -> title = "fmt_title"
"Z" -> album ? album ^ "Z" -> title = "fmt_title"
# Define the A to Z sub menu
%menu_start "a2z" "A to Z..."
"Artists" ==> "custom_artist"
"Albums" ==> "custom_album"
# #
# === Begin of "Search by..." sub menu # === Begin of "Search by..." sub menu
# #
@ -25,13 +99,26 @@
# Define the search sub menu # Define the search sub menu
%menu_start "search" "Search by..." %menu_start "search" "Search by..."
"Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title" "Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title"
"Album Artist" -> albumartist ? albumartist ~ "" -> album -> title = "fmt_title"
"Album" -> album ? album ~ "" -> title = "fmt_title" "Album" -> album ? album ~ "" -> title = "fmt_title"
"Title" -> title ? title ~ "" "Title" -> title = "fmt_title" ? title ~ ""
"Album by year" -> album ? year = "" -> title = "fmt_title"
"Artist between years" -> artist ? year >= "" & year <= "" -> album -> title = "fmt_title"
"Album between years" -> album ? year >= "" & year <= "" -> title = "fmt_title"
"Filename" -> filename ? filename ~ "" "Filename" -> filename ? filename ~ ""
"Score" -> title = "fmt_score" ? autoscore > "" "Score" -> title = "fmt_score" ? autoscore > ""
"Rating" -> title = "fmt_rating" ? rating > "" "Rating" -> title = "fmt_rating" ? rating > ""
"Comment" -> album ? comment ~ "" -> title = "fmt_title"
# ^ An empy line ends the menu # Define the runtime sub menu
%menu_start "runtime" "Play history"
"Most played (Plays|Score)" -> title = "fmt_mostplayed" ? playcount > "0"
"Recently played tracks" -> title = "fmt_lastplayed" ? playcount > "0"
"Never played tracks" -> artist ? playcount == "0" -> album -> title = "fmt_title"
"Favourite artists" -> artist ? playcount > "3" & autoscore > "85" -> album -> title = "fmt_best_tracks"
"Favourite albums" -> album ? playcount > "3" & autoscore > "85" -> title = "fmt_best_tracks"
"Recent favourites" -> title = "fmt_lastplayed" ? playcount > "3" & autoscore > "85"
"Forgotten favourites" -> title = "fmt_forgotten" ? playcount > "3" & autoscore > "85"
# #
# === Begin of main menu # === Begin of main menu
@ -40,21 +127,17 @@
# Define the title of the main menu # Define the title of the main menu
%menu_start "main" "Browse by..." %menu_start "main" "Browse by..."
"Artist" -> artist -> album -> title = "fmt_title" "Artist" -> artist -> album -> title = "fmt_title"
"Album Artist" -> albumartist -> album -> title = "fmt_title"
"Album" -> album -> title = "fmt_title" "Album" -> album -> title = "fmt_title"
"Genre" -> genre -> artist -> album -> title = "fmt_title" "Genre" -> genre -> artist -> album -> title = "fmt_title"
"Composer" -> composer -> album -> title = "fmt_title" "Composer" -> composer -> album -> title = "fmt_title"
"Track" -> title "Track" -> title
"Rating" -> rating -> title = "fmt_rating" "Year" -> year ? year > "0" -> artist -> album -> title = "fmt_title"
"Year" -> year ? year > "1000" & year < "2008" -> artist -> album -> title = "fmt_title" "Recently Added" -> album ? entryage < "4" & commitid > "0" -> title = "fmt_title"
"A to Z..." ==> "a2z"
"History..." ==> "runtime"
"Search..." ==> "search" "Search..." ==> "search"
"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"
"Best tracks" -> artist ? playcount > "1" & rating > "8" -> album -> title = "fmt_best_tracks"
"List played tracks" -> title = "fmt_played" ? playcount > "0"
"Last added tracks" -> artist ? entryage == "0" -> album -> title = "fmt_title"
"Custom view..." ==> "custom" "Custom view..." ==> "custom"
# And finally set main menu as our root menu # And finally set main menu as our root menu
%root_menu "main" %root_menu "main"

View file

@ -286,3 +286,4 @@ Douglas Valentine
Jacob Gardner Jacob Gardner
Pascal Briehl Pascal Briehl
Denis Stanishevskiy Denis Stanishevskiy
Eddy Coman