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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  tagnavi question
« previous next »
  • Print
Pages: [1]

Author Topic: tagnavi question  (Read 1606 times)

Offline jwhendy

  • Member
  • *
  • Posts: 2
tagnavi question
« on: July 03, 2008, 01:42:53 AM »
I believe this would be the appropriate forum...

I rarely ever use anything to browse my database other than by artist, then album (or all), then by song. I don't generally use playlists either. For this reason, and partially just because I like the satisfaction of customizing something myself that I didn't used to be able to customize, I wondered how to make the root menu simply show all artists, from A-Z. I've tried pointing %root_menu to the "custom_artist" menu, but I can't get it to display anything other than "A", "B", "C", etc.

What I want essentially is the functionality of the [browse by] "Artist" functionality of the main menu:

"Artist" -> artist -> album -> title = "fmt_title"
 
but without actually having to select Artist, which, if it's the only option present, is kind of pointless. I just want to go directly to '-> artist' if that makes sense.

I read through the wiki on the tagnavi syntax and did find a lot of helpful facts about how to filter using the various tags and conditions, etc. but not anything regarding how to skip the initial menu selection altogether and (essentially) replace a sub-menu with my main menu.

Any thoughts?


Thanks!
John
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: tagnavi question
« Reply #1 on: July 03, 2008, 05:09:34 AM »
I've just been experimenting and I don't think it is possible. You have to have a default menu of some sort, be it the built-in one, or a custom one and I can't hack the syntax of the tagnavi file to make it jump directly to the first filter selection, no matter what I do...

The best solution is just creating a tagnavi_custom.config file (as below) with only your entry in it, but it seems you may have got to that point already...

Code: [Select]
#! rockbox/tagbrowser/2.0
# ^ Version header must be the first line of every file

%menu_start "custom1" "custom1"
"Artist" -> artist   -> album  -> title = "fmt_title"

%root_menu "custom1"

# EOF
« Last Edit: July 03, 2008, 05:15:13 AM by bascule »
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline jwhendy

  • Member
  • *
  • Posts: 2
Re: tagnavi question
« Reply #2 on: July 03, 2008, 10:23:08 AM »
I appreciate the effort! You seem to have run into the same thing indeed. If this isn't possible I will probably just go the route you suggest - for now I just have some things commented out so that I could experiment around a bit.

I know that I'm directed to create a tagnavi_custom.config vs. changing the tagnavi.config itself because it will be overwritten (I'm assuming that this is a warning regarding updating Rockbox builds? Would anything else overwrite the tagnavi file?). My question is does the firmware look for a tagnavi_custom first and if it is not found, revert to tagnavi? Or is there somewhere where I need to point Rockbox to the custom file I create?


Thanks!
John
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: tagnavi question
« Reply #3 on: July 03, 2008, 10:54:14 AM »
Only unzipping a firmware update will overwrite tagnavi.config, but they happen frequently and a lot of people like to keep up-to-date.

The tagnavi.config already automatically looks for for the tagnavi_custom.config file (the line %include "/.rockbox/tagnavi_custom.config").

All you need to do is copy and paste the above code into a text editor, save it as tagnavi_custom.config and copy it to the /.rockbox directory.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  tagnavi question
 

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

Page created in 0.068 seconds with 16 queries.