Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Help with tagnavi_custom.config
« previous next »
  • Print
Pages: [1]

Author Topic: Help with tagnavi_custom.config  (Read 1048 times)

Offline setiouscat

  • Member
  • *
  • Posts: 11
Help with tagnavi_custom.config
« on: January 02, 2013, 06:07:45 AM »
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!
Logged

Offline Julian67

  • Member
  • *
  • Posts: 116
Re: Help with tagnavi_custom.config
« Reply #1 on: January 02, 2013, 11:38:30 AM »
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: [Select]
#! rockbox/tagbrowser/2.0
%menu_start "main" "Database"
"User Rating Custom" -> rating -> artist -> year -> album -> tracknum -> title = "fmt_title"

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.
« Last Edit: January 02, 2013, 11:41:20 AM by Julian67 »
Logged

Offline setiouscat

  • Member
  • *
  • Posts: 11
Re: Help with tagnavi_custom.config
« Reply #2 on: January 03, 2013, 12:45:57 AM »
Quote
"User Rating Custom" -> rating -> artist -> year -> album -> tracknum -> title = "fmt_title"
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?
Logged

Offline Julian67

  • Member
  • *
  • Posts: 116
Re: Help with tagnavi_custom.config
« Reply #3 on: January 03, 2013, 05:04:59 PM »
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?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Help with tagnavi_custom.config
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.064 seconds with 15 queries.