FS#2427 - Easily load one of 3 config files at startup
Opened by zeekoe (zeekoe) - Wednesday, 05 January 2005, 22:43 GMT
Last edited by Rani Hod (RaeNye) - Monday, 18 September 2006, 15:58 GMT
|
Detailsreplaces [ 1094552 ] Easily load one of 3 config files at
startup, https://sourceforge.net/tracker/index.php? func=detail&aid=1094552&group_id=44306&atid=439120 because i submitted it without logging in. Easily load one of 3 config files at startup This patch lets you choose f1.cfg, f2.cfg or f3.cfg at the resume menu, depending on the button you click. You can place the config files in .rockbox. I'm not sure if it's possible to make this work on Ondios. Thanks to amiconn for the help :) Partly fills the following feature requests: [ 642366 ] CFG selection submenu in sound menu [ 724408 ] Auto conf with "rockbox.cfg" of the desired directory [ 749580 ] CFG Selection Based on Power Type [ 788135 ] Prompt for which cfg to load at bootup |
Finished the patch. Behaviour:
#if CONFIG_KEYPAD == RECORDER_PAD
(so only when using recorder) it does this:
- show a menu bar with the texts f1.cfg, f2.cfg, f3.cfg at the
bottom of the screen
- load the named config file from /.rockbox on press of one of
the function keys; after that wait for other keypresses (play
to resume, or other to stop)
- when config file does not exist, it will exit the menu (so the
original behaviour of the 'press any key' still stands for the
people who want it)
ok, the new version.
this one is compatible with ondio and player too.
that is, when the resume ask screen is enabled. when it's
disabled, the resume screen is broken too... but it's enough for
today :-)
grr... logged out again. well, whatever.
zeekoe.