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
| | |-+  Custom TagNavi
« previous next »
  • Print
Pages: [1]

Author Topic: Custom TagNavi  (Read 1277 times)

Offline scarfy

  • Member
  • *
  • Posts: 42
    • The Battle for the Solar System
Custom TagNavi
« on: May 21, 2009, 06:06:41 PM »
I'm trying to create my own tagnavi file, but I'm having some issues.

The result I'm after is this,

Code: [Select]
<artist - album> - <track>

so, for example,

Code: [Select]
Snow Patrol - Final Straw -> 07. Run

My custom tagnavi looks like this,

Code: [Select]
#! rockbox/tagbrowser/2.0

%format "fmt_artist_album" "%s - %s" artist album

%menu_start "custom"  "Album"
"Album" -> album = "fmt_artist_album"

However, this doesn't seem to work; the list is always empty.

Is it not possible to format the database this way?

This reason I am trying to do this is because I have a number of compilation albums, and browsing by artist alone means that I end up with dozens of artists with only one song to their name. It's a bit of a chore to navigate, so I'd rather condense them down.

I'm also running out of room on my Sandisk, so having to make use of an SD card, and I'd rather not chop and change between the two if the database can collect all the information in one place for me.

Any ideas what I'm doing wrong?
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Custom TagNavi
« Reply #1 on: June 24, 2009, 03:40:31 PM »
Try this:
Code: [Select]
#! rockbox/tagbrowser/2.0

%format "fmt_artist_album" "%s - %s" artist album

%menu_start "custom"  "Album"
"Album" -> title = "fmt_artist_album"

The navigation line always has to end with the 'title' tag.

Plus, if you really want
Code: [Select]
<artist - album> - <track>

You'll need
Code: [Select]
%format "fmt_artist_album" "%s - %s - %s" artist album title
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Custom TagNavi
 

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

Page created in 0.062 seconds with 15 queries.