Advertisement
Guest User

Untitled

a guest
Feb 6th, 2011
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. #! rockbox/tagbrowser/2.0
  2.  
  3. %format "fmt_podcast" "%s - %s (%s)" title artist filename
  4.  
  5. # Listened-to files sorted by playing order, most recently played at the top
  6. %format "fmt_podcast_old" "%06d%s - %s - %s" lastplayed album title artist %sort = "inverse" %strip = "6"
  7. # Recently added files
  8. %format "fmt_podcast_new" "%06d%s - %s - %s" entryage album title artist %strip = "6"
  9.  
  10. %menu_start "custom" "Podcasts"
  11. "All podcasts" -> album ? filename ^ "/PODCASTS" -> title = "fmt_podcast"
  12. # There's no logical-or operator?!?
  13. #"Unfinished Podcasts" -> album ? filename ^ "/PODCASTS" & playcount == "0" | lastoffset > "0" -> title = "fmt_podcast"
  14. "Unplayed Podcasts" -> album ? filename ^ "/PODCASTS" & playcount == "0" -> title = "fmt_podcast"
  15. "Resumable Podcasts" -> title = "fmt_podcast_old" ? filename ^ "/PODCASTS" & lastoffset > "0"
  16. "Recently Added" -> title = "fmt_podcast_new" ? filename ^ "/PODCASTS" & entryage < "6" & commitid > "0"
  17. "Completed Podcasts" -> title = "fmt_podcast_old" ? filename ^ "/PODCASTS" & playcount > "0" & lastoffset == "0"
  18.  
  19. %menu_start "audiobooks" "Audiobooks"
  20. "All audiobooks" -> album ? filename ^ "/AUDIOBOOKS" -> title = "fmt_podcast"
  21. "Unplayed Audiobooks" -> album ? filename ^ "/AUDIOBOOKS" & playcount == "0" -> title = "fmt_podcast"
  22. "Resumable Audiobooks" -> album ? filename ^ "/AUDIOBOOKS" & lastoffset > "0" -> title = "fmt_podcast"
  23. "Recently Added" -> album ? filename ^ "/AUDIOBOOKS" & entryage < "6" & commitid > "0" -> title = "fmt_podcast"
  24. "Played Audiobooks" -> title = "fmt_podcast_old" ? filename ^ "/AUDIOBOOKS" & playcount > "0"
  25.  
  26. ######################################################################
  27.  
  28. %menu_start "custom_main" "Main menu"
  29. "Podcasts" ==> "custom"
  30. "Audiobooks" ==> "audiobooks"
  31. "Artist" -> artist ? filename ^ "/MUSIC" -> album -> title = "fmt_title"
  32. "Album Artist" -> albumartist ? filename ^ "/MUSIC" -> album -> title = "fmt_title"
  33. "Album" -> album ? filename ^ "/MUSIC" -> title = "fmt_title"
  34. "Genre" -> genre ? filename ^ "/MUSIC" -> artist -> album -> title = "fmt_title"
  35. #"Composer" -> composer ? filename ^ "/MUSIC" -> album -> title = "fmt_title"
  36. "Track" -> title ? filename ^ "/MUSIC"
  37. "Year" -> year ? year > "0" & filename ^ "/MUSIC" -> artist -> album -> title = "fmt_title"
  38. "User Rating" -> rating ? filename ^ "/MUSIC" -> title = "fmt_title"
  39. "Recently Added" -> album ? entryage < "6" & commitid > "0" -> title = "fmt_title"
  40. "A to Z..." ==> "a2z"
  41. "History..." ==> "runtime"
  42. "Same as current..." ==> "same"
  43. "Search..." ==> "search"
  44.  
  45. %root_menu "custom_main"
  46.  
  47.  
  48. #EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement