Rockbox Ports are now being developed for various digital audio players!
#! rockbox/tagbrowser/2.0# Un-listened to files sorted by duration, shortest files at the top%format "fmt_podcast" "%08d%s (%s)" length title filename %strip = "8"# Listened-to files sorted by playing order, most recently played at the top%format "fmt_podcast_old" "%06d%s (%s)" lastplayed title filename %sort = "inverse" %strip = "6"%menu_start "custom" "Podcasts""New Podcasts" -> title = "fmt_podcast" ? filename ~ "/podcast" & playcount == "0""Old Podcasts" -> title = "fmt_podcast_old" ? filename ~ "/podcast" & playcount != "0"
Does each show have a common tag, for example, album, that you can use to divide them by?
If the difference is that you have listened to them, then use the playcount tag.
If you let me exactly what your criteria are for differentiation, I'll try and come up with something for you...
IF genre = "Podcast" AND playcount == "0" AND path = "[root]/Podcasts/Daily Source Code" THEN--> Show in Custom view... > New Podcasts > Daily Source CodeIF genre = "Podcast" AND playcount == "0" AND path = "[root]/Podcasts/Pacific Coast Hellway" THEN--> Show in Custom view... > New Podcasts > Pacific Coast HellwayIF genre = "Podcast" AND playcount != "0" AND path = "[root]/Podcasts/Daily Source Code" THEN--> Show in Custom view... > Archived Podcasts > Daily Source CodeIF genre = "Podcast" AND playcount != "0" AND path = "[root]/Podcasts/Pacific Coast Hellway" THEN--> Show in Custom view... > Archived Podcasts > Pacific Coast Hellway
Of course, I have many more podcasts that I listen to, but you get the idea.
Unfortunately, I'm busy at the moment, but I will work on it...
This is what concerns me, if you need as many formatting strings as you have different podcasts, it will be unworkable.
It would be really good to check the tagging and post back, because if they are well tagged, the job is a lot easier.
%menu_start "custom" "Podcasts""New DSC Podcasts" -> title = "fmt_podcast" ? filename ~ "/podcast/Daily Source Code" & playcount == "0""New Hellway Podcasts" -> title = "fmt_podcast" ? filename ~ "/podcast/Pacific Coast Hellway" & playcount == "0""New other Podcasts" -> title = "fmt_podcast" ? filename ~ "/podcast/other" & playcount == "0"etc., etc...
%menu_start "custom" "Podcasts""New Podcasts" -> album ? filename ~ "/podcast" & playcount == "0" -> title = "fmt_podcast""Old Podcasts" -> album ? filename ~ "/podcast" & playcount != "0" -> title = "fmt_podcast_old"
#! rockbox/tagbrowser/2.0"New podcasts" ==> "newPods""Archived podcasts" ==> "oldPods"# Un-listened to files sorted by duration, shortest files at the top%format "fmt_podcast" "%08d%s (%s)" length title filename %strip = "8"# Listened-to files sorted by playing order, most recently played at the top%format "fmt_podcast_old" "%06d%s (%s)" lastplayed title filename %sort = "inverse" %strip = "6"%menu_start "newPods" "New podcasts""Comedy Package" -> album ? filename ~ "/Podcasts/- Comedy Package - A PodShow Channel" & playcount == "0" -> title = "fmt_podcast""Technology Package" -> album ? filename ~ "/Podcasts/- Technology Package - A PodShow Channel" & playcount == "0" -> title = "fmt_podcast""Music Package" -> album ? filename ~ "/Podcasts/- Music Package - A PodShow Channel" & playcount == "0" -> title = "fmt_podcast"%menu_start "oldPods" "Archived podcasts""Comedy Package" -> album ? filename ~ "/Podcasts/- Comedy Package - A PodShow Channel" & playcount != "0" -> title = "fmt_podcast_old""Technology Package" -> album ? filename ~ "/Podcasts/- Technology Package - A PodShow Channel" & playcount != "0" -> title = "fmt_podcast_old""Music Package" -> album ? filename ~ "/Podcasts/- Music Package - A PodShow Channel" & playcount != "0" -> title = "fmt_podcast_old"
You can either: (...)
On second reading, I think you may mean that the code you posted is your whole tagnavi.config code?
#! 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.# Basic format declarations%format "fmt_title" "%02d. %s" tracknum title ? tracknum > "0"%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_played" "(%3d/%d) %s" autoscore playcount title%format "fmt_score" "(%3d) %s" autoscore title# MANUALLY ADDED FORMATTING FOR PODCASTS%format "fmt_podcast" "%08d%s (%s)" length title filename %strip = "8"%format "fmt_podcast_old" "%06d%s (%s)" lastplayed title filename %sort = "inverse" %strip = "6"# END OF EDIT# 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...""Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title""Album" -> album ? album ~ "" -> title = "fmt_title""Title" -> title ? title ~ """Filename" -> filename ? filename ~ """Score" -> title = "fmt_score" ? autoscore > ""# ^ An empy line ends the menu## === Begin of main menu## Define the title of the main menu%menu_start "main" "Browse by...""Artist" -> artist -> album -> title = "fmt_title""Album" -> album -> title = "fmt_title""Genre" -> genre -> artist -> album -> title = "fmt_title""Composer" -> composer -> album -> title = "fmt_title""Track" -> title"Year" -> year ? year > "1000" & year < "2008" -> artist -> album -> title = "fmt_title""Search..." ==> "search""New podcasts" ==> "newPods""Archived podcasts" ==> "oldPods""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""List played tracks" -> title = "fmt_played" ? playcount > "0""Custom view..." ==> "custom"# START OF EDIT%menu_start "newPods" "New podcasts""Comedy Package" -> album ? filename ~ "/Podcasts/- Comedy Package - A PodShow Channel" & playcount == "0" -> title = "fmt_podcast""Technology Package" -> album ? filename ~ "/Podcasts/- Technology Package - A PodShow Channel" & playcount == "0" -> title = "fmt_podcast""Music Package" -> album ? filename ~ "/Podcasts/- Music Package - A PodShow Channel" & playcount == "0" -> title = "fmt_podcast"%menu_start "oldPods" "Archived podcasts""Comedy Package" -> album ? filename ~ "/Podcasts/- Comedy Package - A PodShow Channel" & playcount != "0" -> title = "fmt_podcast_old""Technology Package" -> album ? filename ~ "/Podcasts/- Technology Package - A PodShow Channel" & playcount != "0" -> title = "fmt_podcast_old""Music Package" -> album ? filename ~ "/Podcasts/- Music Package - A PodShow Channel" & playcount != "0" -> title = "fmt_podcast_old"# END OF EDIT# And finally set main menu as our root menu%root_menu "main"
The order of the different sections in the file is crucial because the file is interpreted whilst loading in the order in which it is written. The order should generally follow the list below. The important point is that for a line to display, all of it's contents should have previously been defined. E.g., if a main menu item points to a sub-menu, then the sub-menu must be defined in the file prior to the main menu.
#! 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.# Basic format declarations%format "fmt_title" "%02d. %s" tracknum title ? tracknum > "0"%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_played" "(%3d/%d) %s" autoscore playcount title%format "fmt_score" "(%3d) %s" autoscore title# 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...""Artist" -> artist ? artist ~ "" & filename !~ "/Podcasts/" & filename !~ "/Other/" -> album -> title = "fmt_title""Album" -> album ? album ~ "" & filename !~ "/Podcasts/" -> title = "fmt_title""Title" -> title ? title ~ "" & filename !~ "/Podcasts/""Filename" -> filename ? filename ~ "" & filename !~ "/Podcasts/""Score" -> title = "fmt_score" ? autoscore > "" & filename !~ "/Podcasts/"# START OF EXTRA MENUS%menu_start "newPods" "New podcasts""Comedy Package" -> album ? filename ~ "/Podcasts/- Comedy Package - A PodShow Channel" & playcount == "0" -> title = "fmt_podcast""Technology Package" -> album ? filename ~ "/Podcasts/- Technology Package - A PodShow Channel" & playcount == "0" -> title = "fmt_podcast""Music Package" -> album ? filename ~ "/Podcasts/- Music Package - A PodShow Channel" & playcount == "0" -> title = "fmt_podcast"%menu_start "oldPods" "Archived podcasts""Comedy Package" -> album ? filename ~ "/Podcasts/- Comedy Package - A PodShow Channel" & playcount != "0" -> title = "fmt_podcast_old""Technology Package" -> album ? filename ~ "/Podcasts/- Technology Package - A PodShow Channel" & playcount != "0" -> title = "fmt_podcast_old""Music Package" -> album ? filename ~ "/Podcasts/- Music Package - A PodShow Channel" & playcount != "0" -> title = "fmt_podcast_old"# END OF EXTRA MENUS# ^ An empy line ends the menu## === Begin of main menu## Define the title of the main menu%menu_start "main" "Rockbox Database""Artist" -> artist ? filename !~ "/Podcasts/" & filename !~ "/Other/" -> album -> title = "fmt_title""Album" -> album ? filename !~ "/Podcasts/" & filename !~ "/Other/" -> title = "fmt_title""Genre" -> genre ? filename !~ "/Podcasts/" & filename !~ "/Other/" -> artist -> album -> title = "fmt_title""Composer" -> composer ? filename !~ "/Podcasts/" & filename !~ "/Other/" -> album -> title = "fmt_title""Track" -> title ? filename !~ "/Podcasts/" & filename !~ "/Other/""Year" -> year ? year > "1000" & year < "2008" & filename !~ "/Podcasts/" & filename !~ "/Other/" -> artist -> album -> title = "fmt_title""Search..." ==> "search""Most played tracks" -> title = "fmt_mostplayed" ? playcount > "0" & filename !~ "/Podcasts/" & filename !~ "/Other/""Last played" -> title = "fmt_lastplayed" ? playcount > "0""Never played tracks" -> artist ? playcount == "0" & filename !~ "/Podcasts/" & filename !~ "/Other/" -> album -> title = "fmt_title""Best tracks" -> artist ? playcount > "1" & autoscore > "85" & filename !~ "/Podcasts/" & filename !~ "/Other/" -> album -> title = "fmt_best_tracks""List played" -> title = "fmt_played" ? playcount > "0""Last added tracks" -> artist ? entryage == "0" & filename !~ "/Podcasts/" & filename !~ "/Other/" -> album -> title = "fmt_title""Custom view..." ==> "custom"# And finally set main menu as our root menu%root_menu "main"
"Album" -> album ? filename !~ "/Podcasts/" & filename !~ "/Other/" -> title = "fmt_title""New podcasts" ==> "newPods""Archived podcasts" ==> "oldPods""Genre" -> genre ? filename !~ "/Podcasts/" & filename !~ "/Other/" -> artist -> album -> title = "fmt_title"
You have not actually placed a call to the new menus in the Main menu.
Page created in 0.084 seconds with 14 queries.