Rockbox General > Rockbox General Discussion
tagnavi.config v2.0 syntax
roolku:
--- Quote from: xlarge on October 25, 2006, 04:04:38 AM ---Btw, I can't redefine a format constant. It seems to work like a first hit filter not a variable assign. Just for info if someone is scratching their head.
--- End quote ---
Not sure what you mean by re-define. You can have multiple definitions with different conditions. TagTree will use the first one where the condition is true (see also Wiki and Slasheri's example).
--- Quote ---PaulJam; I see the same error as you do... Even in the uisim where i've only got 30-40 files. Is it a bug?
--- End quote ---
Looking at Slasheri's example tagnavi, the error can be suppressed by having the condition
? playcount > "0"
at the menu item line. I don't know if this just reduces the result set to a managable size (that would contradict xlarges observation of it happening with 30-40 files) or if the error is caused by something else. Maybe Slasheri has some insight.
--- Quote ---roolku;
The wiki doesn't seem to be updated?
http://www.rockbox.org/twiki/bin/view/Main/TagCache#tagnavi_config_v2_0_Syntax
--- End quote ---
Patience, patience. The 'multiple string tag' change came only after my last edit. Table now fixed (I am unsure about filename, length and playtime). Also, please feel free to edit the page yourself. It is a wiki after all. :)
xlarge:
Aah. That's clever.
In the example we have two "fmt_title";
%format "fmt_title" "%02d. %s" tracknum title ? tracknum > "0"
%format "fmt_title" "%s" title
Wich means that if a track hasn't got tracknum or it's not bigger than 0 it shows just title.
Thanks for pointing that out!
(Yes, it is a wiki after all... :) I've got an account, not authorized yet though)
bascule:
--- Quote from: Slasher on October 24, 2006, 01:56:08 PM ---
--- Quote from: xlarge's tagnavi file on October 24, 2006, 09:05:21 AM ---#i wish this would work...
%format "fmt_title_artist"Â Â Â Â "%s (%s)" title artist
--- End quote ---
Now that should work. :)
--- End quote ---
FANTASTIC ;D
That really does it for me, Rockbox now officially does everything I want it to do..
I have a perfect Tag Cache start-up screen, with my cool and clear browser list, I have Runtime DB-based browsing options and I have the smart BevelledRBX WPS, courtesy of dma
Thanks to Miika Pekkarinen and roolku for writing?/committing most of the Tag Cache stuff and for keeping the Tag Cache syntax Wiki up to date respectively and to all the Rockbox developers for an outstanding product.
[attachment deleted by admin, too old]
Adam:
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).
xlarge:
Why don't you attach your tagnavi_custom.config and let us have a look?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version