Rockbox General > Rockbox General Discussion

tagnavi.config v2.0 syntax

<< < (7/20) > >>

Adam:
I've been using exactly the ones posted by roolku in this thread, all of them...

Slasher:
For some reason those files have one extra empty line after every real line (maybe some windows issue), so you need to remove those extra empty lines (but be sure not to remove too much).

roolku:

--- Quote from: Adam on October 31, 2006, 12:41:54 AM ---I must be doing something rather stupid, I can't get any of the tagnavi_custom.config files to work with my bleeding edge build.  I had used one of the earlier ones, around when this thread started, has something broken?
I end up with either the default menu, or no menu (if I run dos2unix on the tagnavi_custom.config).

--- End quote ---

The syntax has changed several times, so only v0.4 (posting 21) would work. The files do have cr-lf (DOS) linefeeds, but work fine for me regardless. It should simply be a matter of removing the ".txt" from the end of the file and putting it into the .rockbox folder.

Adam:

--- Quote from: Slasher on October 31, 2006, 03:45:52 AM ---For some reason those files have one extra empty line after every real line (maybe some windows issue), so you need to remove those extra empty lines (but be sure not to remove too much).

--- End quote ---
Ah, thank you, that seems to have solved it.  I suppose the problem with this was that a blank line signifies the end of a menu, so all the menus ended immediately.

lenny:
Can one have a format tag modify a level that is not the last one? For instance:

--- Code: ---%format "fmt_strip_trk"        "%02d%s" tracknum title %strip = "2"

%format "fmt_year_album" "%s %s" year album

%menu_start "artist_initial" "artist initial"
"A"   -> artist ? artist ^ "A" -> album = "fmt_year_album"  -> title = "fmt_strip_trk"

etc...
--- End code ---
I also tried this:

--- Code: ---"C"   -> artist ? artist ^ "C" -> year album  -> title = "fmt_strip_trk"
--- End code ---
when it is all done, the fmt_strip_trk works, but the frmt_year_album has no effect. Is it possible? Am I doing it the right way?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version