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
This commit is contained in:
Christian Soffke 2022-11-22 21:03:19 +01:00
parent 3ce3b102dd
commit e8816552f6
13 changed files with 134 additions and 42 deletions

View file

@ -251,6 +251,7 @@
dircache & on, off & N/A\\
tagcache\_ram & on, off & N/A\\
database path & path to a directory & N/A\\
default browser & files, database, playlists & N/A\\
\opt{touchpad}{
\opt{GIGABEAT_PAD}{

View file

@ -1,5 +1,5 @@
% $Id$ %
\section{File View}
\section{\label{ref:FileView}File View}
The File View menu deals with options relating to how the File Browser
displays files.
%
@ -90,4 +90,11 @@ displays files.
\setting{Current Directory Only} or \setting{Full Path}, then the title of
each menu will be displayed on the first line in the \setting{Database Browser}.
\opt{hotkey}{
\nopt{touchscreen}{\item[File Browser Hotkey.]
Sets the hotkey function for the \setting{File Browser},
\setting{Database} and \setting{Playlist Viewer} (see \reference{ref:Hotkeys}).
The default is \setting{Off}.
}
}
\end{description}

View file

@ -1,15 +0,0 @@
% $Id: hotkey_settings.tex 16765 2008-03-23 22:07:09Z nls $ %
\opt{hotkey}{
\section{\label{ref:HotkeySettings}Hotkey}
\begin{description}
\item[WPS Hotkey.] \opt{touchscreen}{This options sets the hotkey function for
the WPS (see \reference{ref:Hotkeys}). The
default is \setting{View Playlist}.}
\nopt{touchscreen}{\item[File Browser Hotkey.]}
\end{description}
\nopt{touchscreen}{These options set the hotkey function for their respective
screens (see \reference{ref:Hotkeys}). The default for the WPS is
\setting{View Playlist}. The File Browser default is \setting{Off}.}
}

View file

@ -9,6 +9,7 @@
\chapter{General Settings}
\label{ref:configure_rockbox_general}
\input{configure_rockbox/general_settings.tex}
\input{configure_rockbox/wps.tex}
\input{configure_rockbox/playlist_options.tex}
\input{configure_rockbox/file_view.tex}
\input{configure_rockbox/database.tex}
@ -21,8 +22,6 @@
}
\input{configure_rockbox/language.tex}
\input{configure_rockbox/voice.tex}
\input{configure_rockbox/wps_context_plugin.tex}
\input{configure_rockbox/hotkey_settings.tex}
\chapter{Theme Settings}
\label{ref:configure_rockbox_themes}

View file

@ -0,0 +1,16 @@
\section{\label{ref:WPSSettings}What's Playing Screen}
\begin{description}
\item[Default Browser.]
Decide if you want the \setting{File Browser}, \setting{Database}, or
\setting{Playlist Catalogue} to launch after pressing \ActionWpsBrowse{}
on the WPS, when no other browser has recently been used.
\opt{hotkey}{
\item[WPS Hotkey.] Sets the hotkey function for
the WPS (see \reference{ref:Hotkeys}). The
default is \setting{View Playlist}.
}
\item[Set WPS Context Plugin.]
This option will allow you to run a Rockbox plugin from the WPS context menu.
\end{description}

View file

@ -1,6 +0,0 @@
\section{\label{ref:SetWPSContextPlugin}Set WPS Context Plugin}
\begin{description}
\item[Set WPS Context Plugin.]
This option will allow you to run a rockbox plugin from the WPS context menu
\end{description}

View file

@ -11,10 +11,11 @@
assignment.} If there is no assignment for a given screen,
the hotkey is ignored.
The hotkey assignments are changed for the What's Playing Screen (see
\reference{ref:WPSSettings}) and browsers (see \reference{ref:FileView})
separately.
The default assignment for the \nopt{touchscreen}{File Browser hotkey is
\setting{Off}, while the default for the }WPS hotkey is
\setting{View Playlist}.
The hotkey assignments are changed in the Hotkey menu (see
\reference{ref:HotkeySettings}) under \setting{General Settings}.
}

View file

@ -61,7 +61,7 @@ your WPS (While Playing Screen).
%
\ActionWpsBrowse
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsBrowse}
& Return to the \setting{File Browser} / \setting{Database}.\\
& Return to the \setting{File Browser} / \setting{Database} / \setting{Playlist Catalogue}.\\
%
\ActionWpsContext
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsContext}