Rockbox General > Rockbox General Discussion

tagnavi.config v2.0 syntax

<< < (16/20) > >>

jsn5406:
just to update I used the alternative I discovered earlier..

The file works now...it's just that I have to select the folder after I select the Letter (as you can see from the attachment)...

I must say it is much cleaner..and I had room to include your modded tagnavi stuff like mood search...thanks btw..





[attachment deleted by admin, too old]

bascule:

--- Quote from: jsn5406 on March 15, 2007, 03:08:44 PM ---It would have been cool if I could have a line like:

%menu_start "test" "Browse Artists"
"Artist by Directory" -> comment ==> "alpha"

--- End quote ---
I've always wanted to do this, it would very useful. Unfortunately, there's probably only roolku or slasher who could actually implement it :(


--- Quote from: jsn5406 on March 15, 2007, 03:08:44 PM ---alternatively I have found that I can have one generic A-Z menu which will request the comment such as in this line:

"A" -> comment -> artist ? artist ^ "a" -> title =...
"B" -> comment -> artist ? artist ^ "b" -> title =...

--- End quote ---
That's a cool solution for your particular situation; glad it worked out for you :D

Xezzy:
Hi!
Recently I'm playing with tagnavi and I cant force one thing.
I want to create something like this:


--- Code: ---%format "fmt_titlenest" "%02d. %s" tracknum title
%format "fmt_artistalbum" "%s [%s]" artist album

"albums" -> album = "fmt_artistalbum" -> title = "fmt_titlenest"

--- End code ---

But offcourse I cant because u can use fmt_identifier only with title, thats sad :( is there any workaround for this query? If not, are you planing to include fmt_identifier for 'album' or any other string?

KindOfBlues71:
Xezzy-

Change your format identifiers to f_titlenest and f_artistalbum and they should work.  I can't explain why, but I know from using bascule's and my own custom tagnavi file that using "f_" rather than "fmt_" works...

-KindOfBlues71

roolku:
The prefix fmt_ is just a convention and is not used an any way, so you can omit it or replace it by f_ or whatever. I suspect the problem KindOfBlues71 refers to (f_ works, but fmt_ doesn't) is that the database silently truncates or ignores overly long strings, but I'll have to look at the code to confirm.

Regarding Xezzy's query - you are right, you can only use supported tags (and not format strings) as filters. I can't think of a suitably flexible workaround.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version