summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-11-18 00:05:42 +0100
committerWilliam Wilgus <me.theuser@yahoo.com>2022-11-23 01:24:59 -0500
commit17cae50497718ac10be9c2521efbc04bb500afa7 (patch)
treef729f894cceb5335c70cc0c2d655a3814f140b17
parent0c7f66ab5f33ff18221fe9c772ff44a6f6d93805 (diff)
downloadrockbox-17cae50497.tar.gz
rockbox-17cae50497.zip
PictureFlow: Add hotkeys for changing sorting on iPods / Update manual
Adjust current sorting by pressing both the Select button and Menu (or Play) at the same time. Change-Id: I474b79a16e278d34e3983384125015bdfb6f484a
-rw-r--r--apps/plugins/pictureflow/pictureflow.c13
-rw-r--r--manual/plugins/pictureflow.tex23
2 files changed, 24 insertions, 12 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index e8c2e070eb..cdc9641f5c 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -151,8 +151,11 @@ const struct button_mapping pf_context_buttons[] =
{PF_QUIT, BUTTON_POWER, BUTTON_NONE},
#elif (CONFIG_KEYPAD == IPOD_1G2G_PAD) \
|| (CONFIG_KEYPAD == IPOD_3G_PAD) \
- || (CONFIG_KEYPAD == IPOD_4G_PAD) \
- || (CONFIG_KEYPAD == MPIO_HD300_PAD)
+ || (CONFIG_KEYPAD == IPOD_4G_PAD)
+ {PF_QUIT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU},
+ {PF_SORTING_NEXT, BUTTON_SELECT|BUTTON_MENU, BUTTON_NONE},
+ {PF_SORTING_PREV, BUTTON_SELECT|BUTTON_PLAY, BUTTON_NONE},
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
{PF_QUIT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU},
#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
{PF_QUIT, BUTTON_RC_REC, BUTTON_NONE},
@@ -3232,6 +3235,12 @@ static bool sort_albums(int new_sorting, bool from_settings)
{
#ifdef USEGSLIB
grey_show(false);
+#if LCD_DEPTH > 1
+ rb->lcd_set_background(N_BRIGHT(0));
+ rb->lcd_set_foreground(N_BRIGHT(255));
+#endif
+ rb->lcd_clear_display();
+ rb->lcd_update();
#endif
rb->splash(HZ, sort_options[pf_cfg.sort_albums_by]);
#ifdef USEGSLIB
diff --git a/manual/plugins/pictureflow.tex b/manual/plugins/pictureflow.tex
index 2c83a3941f..fc4a35274f 100644
--- a/manual/plugins/pictureflow.tex
+++ b/manual/plugins/pictureflow.tex
@@ -1,9 +1,10 @@
\subsection{PictureFlow}
\screenshot{plugins/images/ss-pictureflow}{PictureFlow}{img:pictureflow}
PictureFlow is a visual browser for your albums. After you've selected something to play,
-PictureFlow will continue running by default, or can show the WPS. The optional WPS
-integration enables access to a context menu for adding albums or songs
-to the dynamic playlist directly from PictureFlow (see \reference{ref:currentplaylist_submenu}).
+PictureFlow will continue running by default, or can optionally show the WPS. Using the
+context menu, albums or songs can be added to the dynamic playlist directly from
+PictureFlow (see \reference{ref:currentplaylist_submenu}).
+
\subsubsection{Sort Options}
Albums can be sorted by:
@@ -37,8 +38,8 @@ reduces the time it takes for cover art to be displayed.}}
background. An indicator in the screen corner shows you the completed percentage.
When the cache is being built, the UI may be slow to react to your input.
For optimal performance, wait for processing to complete.
- \item Each time you update your player's database, you should manually rebuild or
- update the cache in PictureFlow.
+ \item Each time you update your player's database, you should also update the cache
+ in PictureFlow.
\item PictureFlow will accept album art larger than the dimensions of the
screen, but the larger the dimensions, the longer they will take to scale.
\end{itemize}
@@ -93,8 +94,11 @@ reduces the time it takes for cover art to be displayed.}}
Quickly jump to another album (alphabetically or by year)
\\
}
- \opt{FIIO_M3K_PAD}{
- \ButtonVolUp{} / \ButtonVolDown
+ \opt{FIIO_M3K_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IPOD_1G2G_PAD}{
+ \opt{FIIO_M3K_PAD}{\ButtonVolUp{} / \ButtonVolDown}
+ \opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_1G2G_PAD}{
+ \ButtonSelect{} + \ButtonMenu{} / \ButtonSelect{} + \ButtonPlay
+ }
&
\opt{HAVEREMOTEKEYMAP}{&}
Adjust current album sorting
@@ -150,7 +154,7 @@ reduces the time it takes for cover art to be displayed.}}
\ActionStdContext
&
\opt{HAVEREMOTEKEYMAP}{&}
- Enter context menu (if WPS integration is enabled)
+ Enter context menu
\\
\nopt{IAUDIO_M3_PAD,SANSA_FUZEPLUS_PAD,FIIO_M3K_PAD}{\ActionStdMenu}
@@ -224,7 +228,6 @@ reduces the time it takes for cover art to be displayed.}}
\item[Rebuild cache.] Creates a fresh album index and builds the artwork cache from scratch.
\item[Update cache.] Creates a fresh album index and updates the existing artwork cache to
include newly added albums.
- \item[WPS integration.] Integrate PictureFlow with the While Playing Screen and enable
- the Current Playlist context menu.
+ \item[WPS integration.] Integrate PictureFlow with the While Playing Screen.
\item[Backlight.] Force backlight on while running pictureflow.
\end{description}