Hello
I recently discovered the tagnavi.config file, and tried to make my own tagnavi_custom.config. What I want to do, is to have in the database, under each artist, all the albums presented with the year (and the albums will then be sorted chronologically).
Here's my custom file (I put it entirely, we never know) :
#! rockbox/tagbrowser/2.0
# FORMATS
%format "fmt_title" "%d.%02d. %s - %02d:%02d" discnum tracknum title Lm Ls ? discnum > "0"
%format "fmt_title" "%02d. %s - %02d:%02d" tracknum title Lm Ls ? tracknum > "0"
%format "fmt_title" "%s - %02d:%02d" title Lm Ls
%format "fmt_album" "%04d. %s" year album ? year > "0"
%format "fmt_album" "%s" album
# MAIN MENU
%menu_start "mainperso" "Database"
"Artist" -> artist -> year = "fmt_album" -> title = "fmt_title"
"Album" -> album -> title = "fmt_title"
"Genre" -> genre -> artist -> album -> title = "fmt_title"
"Composer" -> composer -> album -> title = "fmt_title"
"Year" -> year ? year > "0" -> artist -> album -> title = "fmt_title"
# ROOT MENU
%root_menu "mainperso"
It works, but there is just one exception : when an artist has 2 different albums in the same year (it happens !). Here's an example with 3 albums of you-know-who (or maybe not), who released 2 albums in 1969 (what a prolific year !). His album list should look like this :
1959. Kind of Blue
1969. Filles de Kilimanjaro
1969. In A Silent Way
But like I did it, only the first 2 appear, and the tracks from "In A Silent Way" appear under "Filles de Kilimanjaro".
Clearly, the problem is with my "Artist" filter, in :
year = "fmt_album"
Actually, I'm not sure to understand what the "year =" is for. Since I want to select tracks according to year and album, I tried to replace it with "album =".
When I did that, I got this :
Filles de Kilimanjaro
In A Silent Way
Kind of Blue
Back to the beginning ...
Any idea or, at least, does anyone know what this identifier before the = means ?
Thanks !
(And if it helps in any way, I precise that I use a Fuze v2)