diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2022-11-22 21:03:19 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-04-24 05:05:42 +0200 |
commit | e8816552f6adc2bb458860759bd15a31b7d9d0d1 (patch) | |
tree | 4363ddcb7b31c084cf0ea090501fa8d7d06741a4 /apps/settings.h | |
parent | 3ce3b102ddd5b663759ed61bd689b7bbda2ceecd (diff) | |
download | rockbox-e8816552f6adc2bb458860759bd15a31b7d9d0d1.tar.gz rockbox-e8816552f6adc2bb458860759bd15a31b7d9d0d1.zip |
Offer choice of default browsers
The database or playlist catalogue can now be set
as the browser that is launched when pressing
ACTION_WPS_BROWSE on the WPS, unless another browser
has more recently been opened.
Previously you'd always have to exit the File Browser
first, after the player had been restarted, which is
annoying for users who prefer the database.
The playlist catalogue has become part of the MRU
browser list, so pressing ACTION_WPS_BROWSE after
selecting a track from a playlist in the playlist
catalogue will now take you back there.
Settings menus have been slightly restructured.
- Eliminated "Set WPS Context Plugin" and "Hotkey" menus
from the General menu
- Added "What's Playing Screen" menu in Settings-General
with option for setting default browser. The "WPS Hotkey"
and "WPS Context Plugin" menu options have been moved to
this menu.
- "File Browser Hotkey" is now part of the File View menu,
which means it is accessible from the browser's context
menu as well.
Overview of resulting menu structure in Settings->General:
What's Playing Screen
Default Browser
WPS Hotkey
Set WPS Context Plugin
File View
(...)
File Browser Hotkey
Change-Id: Iaa3619a791c20ce3562a1efd2cf90c72933b729a
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index ce29e020f7..2277805fec 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -127,6 +127,15 @@ enum | |||
127 | QUEUE_SHOW_IN_SUBMENU | 127 | QUEUE_SHOW_IN_SUBMENU |
128 | }; | 128 | }; |
129 | 129 | ||
130 | enum | ||
131 | { | ||
132 | BROWSER_DEFAULT_FILES = 0, | ||
133 | #ifdef HAVE_TAGCACHE | ||
134 | BROWSER_DEFAULT_DB, | ||
135 | #endif | ||
136 | BROWSER_DEFAULT_PL_CAT | ||
137 | }; | ||
138 | |||
130 | #ifdef HAVE_ALBUMART | 139 | #ifdef HAVE_ALBUMART |
131 | enum | 140 | enum |
132 | { | 141 | { |
@@ -608,6 +617,8 @@ struct user_settings | |||
608 | unsigned char colors_file[MAX_FILENAME+1]; | 617 | unsigned char colors_file[MAX_FILENAME+1]; |
609 | #endif | 618 | #endif |
610 | 619 | ||
620 | int browser_default; /* Default browser when accessed from WPS */ | ||
621 | |||
611 | /* playlist/playback settings */ | 622 | /* playlist/playback settings */ |
612 | int repeat_mode; /* 0=off 1=repeat all 2=repeat one 3=shuffle 4=ab */ | 623 | int repeat_mode; /* 0=off 1=repeat all 2=repeat one 3=shuffle 4=ab */ |
613 | int next_folder; /* move to next folder */ | 624 | int next_folder; /* move to next folder */ |