summaryrefslogtreecommitdiff
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-17cae50497718ac10be9c2521efbc04bb500afa7.tar.gz
rockbox-17cae50497718ac10be9c2521efbc04bb500afa7.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[] =
151 {PF_QUIT, BUTTON_POWER, BUTTON_NONE}, 151 {PF_QUIT, BUTTON_POWER, BUTTON_NONE},
152#elif (CONFIG_KEYPAD == IPOD_1G2G_PAD) \ 152#elif (CONFIG_KEYPAD == IPOD_1G2G_PAD) \
153 || (CONFIG_KEYPAD == IPOD_3G_PAD) \ 153 || (CONFIG_KEYPAD == IPOD_3G_PAD) \
154 || (CONFIG_KEYPAD == IPOD_4G_PAD) \ 154 || (CONFIG_KEYPAD == IPOD_4G_PAD)
155 || (CONFIG_KEYPAD == MPIO_HD300_PAD) 155 {PF_QUIT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU},
156 {PF_SORTING_NEXT, BUTTON_SELECT|BUTTON_MENU, BUTTON_NONE},
157 {PF_SORTING_PREV, BUTTON_SELECT|BUTTON_PLAY, BUTTON_NONE},
158#elif CONFIG_KEYPAD == MPIO_HD300_PAD
156 {PF_QUIT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU}, 159 {PF_QUIT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU},
157#elif CONFIG_KEYPAD == IAUDIO_M3_PAD 160#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
158 {PF_QUIT, BUTTON_RC_REC, BUTTON_NONE}, 161 {PF_QUIT, BUTTON_RC_REC, BUTTON_NONE},
@@ -3232,6 +3235,12 @@ static bool sort_albums(int new_sorting, bool from_settings)
3232 { 3235 {
3233#ifdef USEGSLIB 3236#ifdef USEGSLIB
3234 grey_show(false); 3237 grey_show(false);
3238#if LCD_DEPTH > 1
3239 rb->lcd_set_background(N_BRIGHT(0));
3240 rb->lcd_set_foreground(N_BRIGHT(255));
3241#endif
3242 rb->lcd_clear_display();
3243 rb->lcd_update();
3235#endif 3244#endif
3236 rb->splash(HZ, sort_options[pf_cfg.sort_albums_by]); 3245 rb->splash(HZ, sort_options[pf_cfg.sort_albums_by]);
3237#ifdef USEGSLIB 3246#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 @@
1\subsection{PictureFlow} 1\subsection{PictureFlow}
2\screenshot{plugins/images/ss-pictureflow}{PictureFlow}{img:pictureflow} 2\screenshot{plugins/images/ss-pictureflow}{PictureFlow}{img:pictureflow}
3PictureFlow is a visual browser for your albums. After you've selected something to play, 3PictureFlow is a visual browser for your albums. After you've selected something to play,
4PictureFlow will continue running by default, or can show the WPS. The optional WPS 4PictureFlow will continue running by default, or can optionally show the WPS. Using the
5integration enables access to a context menu for adding albums or songs 5context menu, albums or songs can be added to the dynamic playlist directly from
6to the dynamic playlist directly from PictureFlow (see \reference{ref:currentplaylist_submenu}). 6PictureFlow (see \reference{ref:currentplaylist_submenu}).
7
7 8
8\subsubsection{Sort Options} 9\subsubsection{Sort Options}
9Albums can be sorted by: 10Albums can be sorted by:
@@ -37,8 +38,8 @@ reduces the time it takes for cover art to be displayed.}}
37 background. An indicator in the screen corner shows you the completed percentage. 38 background. An indicator in the screen corner shows you the completed percentage.
38 When the cache is being built, the UI may be slow to react to your input. 39 When the cache is being built, the UI may be slow to react to your input.
39 For optimal performance, wait for processing to complete. 40 For optimal performance, wait for processing to complete.
40 \item Each time you update your player's database, you should manually rebuild or 41 \item Each time you update your player's database, you should also update the cache
41 update the cache in PictureFlow. 42 in PictureFlow.
42 \item PictureFlow will accept album art larger than the dimensions of the 43 \item PictureFlow will accept album art larger than the dimensions of the
43 screen, but the larger the dimensions, the longer they will take to scale. 44 screen, but the larger the dimensions, the longer they will take to scale.
44 \end{itemize} 45 \end{itemize}
@@ -93,8 +94,11 @@ reduces the time it takes for cover art to be displayed.}}
93 Quickly jump to another album (alphabetically or by year) 94 Quickly jump to another album (alphabetically or by year)
94 \\ 95 \\
95 } 96 }
96 \opt{FIIO_M3K_PAD}{ 97 \opt{FIIO_M3K_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IPOD_1G2G_PAD}{
97 \ButtonVolUp{} / \ButtonVolDown 98 \opt{FIIO_M3K_PAD}{\ButtonVolUp{} / \ButtonVolDown}
99 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_1G2G_PAD}{
100 \ButtonSelect{} + \ButtonMenu{} / \ButtonSelect{} + \ButtonPlay
101 }
98 & 102 &
99 \opt{HAVEREMOTEKEYMAP}{&} 103 \opt{HAVEREMOTEKEYMAP}{&}
100 Adjust current album sorting 104 Adjust current album sorting
@@ -150,7 +154,7 @@ reduces the time it takes for cover art to be displayed.}}
150 \ActionStdContext 154 \ActionStdContext
151 & 155 &
152 \opt{HAVEREMOTEKEYMAP}{&} 156 \opt{HAVEREMOTEKEYMAP}{&}
153 Enter context menu (if WPS integration is enabled) 157 Enter context menu
154 \\ 158 \\
155 159
156 \nopt{IAUDIO_M3_PAD,SANSA_FUZEPLUS_PAD,FIIO_M3K_PAD}{\ActionStdMenu} 160 \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.}}
224 \item[Rebuild cache.] Creates a fresh album index and builds the artwork cache from scratch. 228 \item[Rebuild cache.] Creates a fresh album index and builds the artwork cache from scratch.
225 \item[Update cache.] Creates a fresh album index and updates the existing artwork cache to 229 \item[Update cache.] Creates a fresh album index and updates the existing artwork cache to
226 include newly added albums. 230 include newly added albums.
227 \item[WPS integration.] Integrate PictureFlow with the While Playing Screen and enable 231 \item[WPS integration.] Integrate PictureFlow with the While Playing Screen.
228 the Current Playlist context menu.
229 \item[Backlight.] Force backlight on while running pictureflow. 232 \item[Backlight.] Force backlight on while running pictureflow.
230\end{description} 233\end{description}