Rockbox General > Rockbox General Discussion
tagnavi.config v2.0 syntax
roolku:
--- Quote from: xlarge on September 25, 2006, 10:19:41 AM ---
--- Quote from: roolku on September 24, 2006, 10:59:32 AM ---...I have attached my work in progress...
--- End quote ---
Just FYI my x5 doesn't boot with your tagnavi.config.
Don't know why yet...
edit; it does boot, but doesn't show me any interface... just freezes at the logotype.
--- End quote ---
I suspect you are running an old build? Slasheri fixed the hang if there are more then 8 menus.
21 Sep 17:16 Miika Pekkarinen apps/tagtree.c 1.41
apps/tagtree.h 1.11 Increased maximum number of menus to 16 and avoiding a crash.
xlarge:
Haha.. So true!
For the first time since may i've NOT updated my x5 to bleeding edge every day (was partying in denmark during weekend instead) and i was running cvs: 060920-2007... Now i'm running 060925-1955 - and i'm delighted by your way of thinking and organizing menues - thank you. :)
nugget:
does your tagnavi also include numbers as i can only see letters (but im prob blind :P)
bascule:
Well, I'm really struggling getting this to work and would really appreciate some help...
I using build CVS-060927-0216 on an H120 with the default version of tagnavi.config
It contains this line:
--- Code: ---"Custom view..." Â ==> "custom"
--- End code ---
However, this option does not appear in my Tag Cache menu. Thinking it might be smart enough to display only if the 'custom' menu exists, I created the following simple tagnavi_custom.config file (using Notepad, saving as UTF-8) from roolku's example above:
--- Code: ---#! rockbox/tagbrowser/2.0
# roolku v0.1
%menu_start "artist_initial" "artist initial"
"A"  -> artist ? artist ^ "A" -> album -> title = "%02d %s" tracknum title
"B"  -> artist ? artist ^ "B" -> album -> title = "%02d %s" tracknum title
"C"  -> artist ? artist ^ "C" -> album -> title = "%02d %s" tracknum title
"X"  -> artist ? artist ^ "X" -> album -> title = "%02d %s" tracknum title
"Y"  -> artist ? artist ^ "Y" -> album -> title = "%02d %s" tracknum title
"Z"  -> artist ? artist ^ "Z" -> album -> title = "%02d %s" tracknum title
%menu_start "other" "other"
"find file"Â Â -> title ? filename ~ ""
"ogg"Â Â Â Â Â -> album ? filename $ ".ogg" -> title = "%02d %s" tracknum title
"not mp3/ogg"Â -> album ? filename !$ ".ogg" & filename !$ ".mp3"-> title = "%02d %s" tracknum title
"low Bitrate"Â -> title = "%03d %s" bitrate title %sort = "inverse" ? bitrate < "128"
"high Bitrate" -> title = "%03d %s" bitrate title ? bitrate > "256"
"bad year"Â Â Â -> title = "%04d %s" year title ? year > "0" & year < "1960"
%menu_start "custom" "Custom"
"Artist by initial"Â ==> "artist_initial"
"other"Â ==> "other"
# EOF
--- End code ---
Still no joy. I just cannot get a custom menu to display at all. I've modified previous versions of tagnavi.config without problems, so I don't think it's a file format issue. I have also modified the new default tagnavi.config and can see the changes I've made having an effect on the menu.
It's just that the custom menu line will not work for me  >:(
Can anyone shed some light on this?
xlarge:
# And finally set custom menu as our root menu
%root_menu "custom"
?
stole it from example far above
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version