summaryrefslogtreecommitdiffstats
path: root/apps/tagnavi.config
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2007-03-26 15:08:59 +0000
committerRobert Kukla <roolku@rockbox.org>2007-03-26 15:08:59 +0000
commit226cb7b0b82fe3d3736b8206d8a94c67c359ab64 (patch)
tree8c8b7e12ea5ac643b3c01b8c9aff4a948ae89214 /apps/tagnavi.config
parentcd1ccad9d6ef4f95d6cb0d02c77b58e6566dd203 (diff)
downloadrockbox-226cb7b0b82fe3d3736b8206d8a94c67c359ab64.tar.gz
rockbox-226cb7b0b82fe3d3736b8206d8a94c67c359ab64.tar.bz2
rockbox-226cb7b0b82fe3d3736b8206d8a94c67c359ab64.zip
Rating support for database and WPS (based on FS# 6301). A value between 0 and 10 can be assigned to the currently playing track using the WPS context menu. This value is displayed in the WPS using the %rr tag (replacing autoscore) and can be used as "rating" in tagnavi.config (examples provided).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12922 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagnavi.config')
-rw-r--r--apps/tagnavi.config7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/tagnavi.config b/apps/tagnavi.config
index 24428e223a..5e9dd73b33 100644
--- a/apps/tagnavi.config
+++ b/apps/tagnavi.config
@@ -10,9 +10,10 @@
%format "fmt_title" "%s" title
%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"
-%format "fmt_best_tracks" "%02d. %s (%3d)" tracknum title autoscore
+%format "fmt_best_tracks" "%02d. %s (%2d)" tracknum title rating %sort = "inverse"
%format "fmt_played" "(%3d/%d) %s" autoscore playcount title
%format "fmt_score" "(%3d) %s" autoscore title
+%format "fmt_rating" "(%2d) %s" rating title %sort = "inverse"
# Include our custom menu
%include "/.rockbox/tagnavi_custom.config"
@@ -28,6 +29,7 @@
"Title" -> title ? title ~ ""
"Filename" -> filename ? filename ~ ""
"Score" -> title = "fmt_score" ? autoscore > ""
+"Rating" -> title = "fmt_rating" ? rating > ""
# ^ An empy line ends the menu
@@ -42,12 +44,13 @@
"Genre" -> genre -> artist -> album -> title = "fmt_title"
"Composer" -> composer -> album -> title = "fmt_title"
"Track" -> title
+"Rating" -> rating -> title = "fmt_rating"
"Year" -> year ? year > "1000" & year < "2008" -> artist -> album -> title = "fmt_title"
"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" & autoscore > "85" -> album -> title = "fmt_best_tracks"
+"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"