Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: FS#12251 - user shortcuts in the main menu

FS#12251 - user shortcuts in the main menu

From: Jonathan Gordon <jdgordy_at_gmail.com>
Date: Tue, 1 Nov 2011 22:30:37 +1100

Hi all,
So I've been working on this patch for a while, and when I started I
didnt really intend on pushing for this to get committed, but now it
is pretty much finished I feel that it would be a shame if it isnt as
it fixes pretty much everyones complaint with the menus and
quickscreen (and adds a bunch of extra niceness for the hell of it :)
)

What this does it add a new menu item "Shortcuts" to the end of the
menu which is populated from /.rockbox/shortcuts.txt. I've made it
very flexible and tried to add anything which anyone would find
useable. The following are the available shortcut types:
* "run" a file (same as navigating to the file in the browser and
clicking select
* open the browser at a file/folder (at or in a folder. /Music/foo
will put you in /Music with foo selected while /Music/foo/ will put
oyu in /Music/foo with the first file selected)
* show the "current playlist" context menu on a file or folder (direct
access to that menu for your favorite music)
* open the setting chooser for any setting which can go on the
quickscreen (i.e 99% of the useful ones)
* open any of the debug menu screens

The only type which I really want but cant add is a shortcut into the
database tree, but the usual issues with database prevents that :/ If
there are any other shortcuts people might want I'm open to adding
them.

You can also choose the text and icon of each item, and add spacer
items so help group your shortcuts (if that makes it easier for you).
I've taken over the "Add to shortcuts" context menu item in the
browser (adds a browse type for the file/folder) and added the context
menu item to the settings and the debug screens menus so they can be
easily added.

I'd like to make a plugin to more easily modify the shortcut file but
it isnt really necessary.

This combined with http://www.rockbox.org/tracker/task/12361 (which
makes config loading much faster) should easily solve any problems
anyone has with the quickscreen or menu.

So try it out and let me know what you think.
Received on 2011-11-01


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa