Advertisement
Guest User

Untitled

a guest
Jul 29th, 2011
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. #! rockbox/tagbrowser/2.0
  2.  
  3. %format "fmt_title" "%s - %02d:%02d" filename Lm Ls ? title == "<Untagged>"
  4. %format "fmt_title" "%d.%02d. %s - %02d:%02d" discnum tracknum title Lm Ls ? discnum > "0"
  5. %format "fmt_title" "%02d. %s - %02d:%02d" tracknum title Lm Ls ? tracknum > "0"
  6. %format "fmt_title" "%s - %02d:%02d" title Lm Ls
  7. %format "fmt_mostplayed" "%2d|%3d %s (%s)" playcount autoscore title artist %sort = "inverse" %limit = "100"
  8. %format "fmt_lastplayed" "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"
  9. %format "fmt_forgotten" "%06d%s - %s" lastplayed artist title %limit = "99" %strip = "6"
  10. %format "fmt_best_tracks" "%02d. %s (%3d)" tracknum title autoscore
  11. %format "fmt_score" "(%3d) %s-%s" autoscore title artist
  12. %format "fmt_rating" "(%2d) %s-%s" rating title artist %sort = "inverse"
  13.  
  14. # "History"
  15.  
  16. %menu_start "menu-history" "History"
  17. "Favourite Artists" -> artist ? playcount > "3" & autoscore > "85" -> album -> title = "fmt_best_tracks"
  18. "Favourite Albums" -> album ? playcount > "3" & autoscore > "85" -> title = "fmt_best_tracks"
  19. "Forgotten Favourites" -> title = "fmt_forgotten" ? playcount > "3" & autoscore > "85"
  20. "Most Played" -> title = "fmt_mostplayed" ? playcount > "0"
  21. "Never Played" -> artist ? playcount == "0" -> album -> title = "fmt_title"
  22. "New Favourites" -> artist ? playcount <= "3" & autoscore > "85" -> album -> title = "fmt_best_tracks"
  23. "Recent Favourites" -> title = "fmt_lastplayed" ? playcount > "3" & autoscore > "85"
  24. "Recently Played" -> title = "fmt_lastplayed" ? playcount > "0"
  25.  
  26. # "Same As Current"
  27.  
  28. %menu_start "menu-same-as-current" "Same As Current"
  29. "Album" -> title = "fmt_title" ? album = "#album#"
  30. "Artist" -> album ? artist = "#artist#" -> title = "fmt_title"
  31. "Composer" -> title = "fmt_title" ? composer = "#composer#"
  32. "Directory" -> title ? filename ^ "#directory#"
  33. "Title" -> title = "fmt_title" ? title = "#title#"
  34.  
  35. # "Search"
  36.  
  37. %menu_start "menu-search" "Search"
  38. "Album" -> album ? album ~ "" -> title = "fmt_title"
  39. "Album Artist" -> albumartist ? albumartist ~ "" -> album -> title = "fmt_title"
  40. "Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title"
  41. "Filename" -> filename ? filename ~ ""
  42. "Title" -> title = "fmt_title" ? title ~ ""
  43. "Rating" -> title = "fmt_rating" ? rating > ""
  44.  
  45. # "Database" Main Menu
  46.  
  47. %menu_start "menu-database" "Database"
  48. "Album" -> album -> title = "fmt_title"
  49. "Album Artist" -> albumartist -> album -> title = "fmt_title"
  50. "Artist" -> artist -> album -> title = "fmt_title"
  51. "Genre" -> genre -> artist -> album -> title = "fmt_title"
  52. "History" ==> "menu-history"
  53. "Rating" -> rating -> title = "fmt_title"
  54. "Same As Current" ==> "menu-same-as-current"
  55. "Search" ==> "menu-search"
  56. "Track" -> title
  57. "Year" -> year ? year > "0" -> artist -> album -> title = "fmt_title"
  58.  
  59. %root_menu "menu-database"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement