Rockbox General > Rockbox General Discussion

tagnavi.config v2.0 syntax

<< < (5/20) > >>

xlarge:
Clever! (I'll nick that aswell)
But, again, i can't use formats unless they are constants...

I must be doing something wrong?

roolku:

--- Quote from: xlarge on October 24, 2006, 09:33:09 AM ---But, again, i can't use formats unless they are constants...

I must be doing something wrong?

--- End quote ---

With Slasheri's introduction of conditional formats you now have to declare all format strings explicitly. :( I'll go and update the wiki...

It was a bit of a messy change, but my current file is attached for reference.

EDIT: wiki updated

[attachment deleted by admin, too old]

Slasher:

--- 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. :)

PaulJam:
Hi

I have a little problem with the following entrys in my tagnavi_custom.config


--- Code: ---%format "fmt_leastplayed"   "%d %s (by %s)" playcount title artist %limit = "100"
--- End code ---
and

--- Code: ---"Am wenigsten gespielte Titel" -> title = "fmt_leastplayed"
--- End code ---

When i select the entry I get a splash with "Dir Buffer is Full!" and the listing is empty.
I have already increased the max files in dir limit to 10.000 and restarted, but it didn't help.
If i remove the '%limit = "100"' it works, but then the listing wouldn't make sense anymore.

Does someone have an idea why this isn't working?

The whole tagnavi_custom.config file is in the attachement.

[attachment deleted by admin, too old]

xlarge:

--- 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 ---

Greatness, it does work indeed!
Thank you.

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.

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?

roolku;
The wiki doesn't seem to be updated?
http://www.rockbox.org/twiki/bin/view/Main/TagCache#tagnavi_config_v2_0_Syntax

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version