Rockbox General > Rockbox General Discussion
tagnavi.config v2.0 syntax
KindOfBlues71:
Sorry for the incorrect advice Xezzy, I should've paid more attention to the actual code you posted rather than replying based on your post below it. I shall now repeat the following 50 times: Shut the mouth and open the eyes...
@roolku (aka My Hero For Creating the YearAlbum Patch, or MHFCYAP for short)- Please post what you find out about overly-long strings, I'd be interested to know. I've been creating my own custom tagnavi file based off of bascule's example file in the Database wiki and have hit a few bumps...
-KindOfBlues71
Xezzy:
Np. I knew it was only convention :)
I've posted my question, but after about 5 mins I found in wiki thats creating strings is possible for single tracks only, so Ive edited my post and answered the question myself lol. Anyway possibilty of mapping album or artist by other fields would be nice.
thx for reply!
fallout33:
version: r17727
When I try to display all tracks in the form "<artist> - <title>" they are sorted by the title and not by the entire artist-title string.
--- Code: ---#! rockbox/tagbrowser/2.0
%format "fmt_artist_title" "%s - %s" artist title
%menu_start "main" "Database"
"Artist - Title" -> title = "fmt_artist_title"
--- End code ---
I expected that the above code would order the list first by artist and then by title.
--- Quote from: help ---<formatting> determines how the tracks are displayed and sorted (!)
--- End quote ---
http://www.rockbox.org/twiki/bin/view/Main/DataBase
Do you know a solution for this problem?
bascule:
Well, I've confirmed your findings, it does the same for me, but it is certainly not what I would expect.
I'll have a look into it.
EDIT:
This only happens when no filter is used. It appears that if the query goes straight to 'title', then the format string is ignored.
This works as expected:
"All tracks artist_title" -> genre -> title = "fmt_artist_title"
This does not:
"All tracks artist_title" -> title = "fmt_artist_title"
Bug report raised.
roolku:
--- Quote from: bascule on June 19, 2008, 04:17:32 AM ---
This only happens when no filter is used. It appears that if the query goes straight to 'title', then the format string is ignored.
--- End quote ---
Should be fixed now - thanks for reporting.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version