Support and General Use > Audio Playback, Database and Playlists

Help with tagnavi_custom.config

(1/1)

setiouscat:
I need to create custom template with the next sorting pattern:

"Rating -> Artist -> Album(or Year -> Album) -> Track Number"

For the last few hours I been trying to learn http://www.rockbox.org/wiki/DataBase article, but I just cannot into algorythmical thinking   :'( Would you help me, please?

Happy New Year, everybody!

Julian67:
When the documentation is difficult to understand it's useful to look at the existing tagnavi.config already on your player as it has multiple examples of different definitions.  I had to do so in order to understand how to make myself custom search sub menus a while ago (I also found the documentation alone was slightly overwhelming) and by spending a few minutes again just now seeing how it's done I think the following will be useful.

Assuming you are trying to make an entry for the database main menu you can create a file tagnavi_custom.config like so:


--- Code: ---#! rockbox/tagbrowser/2.0
%menu_start "main" "Database"
"User Rating Custom" -> rating -> artist -> year -> album -> tracknum -> title = "fmt_title"
--- End code ---

which will add User Rating Custom to the database main menu and allow you to filter as intended.  Tracks without a Year/Date tag get assigned to year 0.

setiouscat:

--- Quote ---"User Rating Custom" -> rating -> artist -> year -> album -> tracknum -> title = "fmt_title"
--- End quote ---
I already tried this, but I need not exactly that(forgot to tell you, sorry). Is it possible to make such list without subfolders, but as a list of the songs in such order?

Julian67:
The database is using tags, not directory structure, so it doesn't help to think about this in terms of folders and subfolders.

I'm not sure exactly what you want to do.  Are you?

Navigation

[0] Message Index

Go to full version