diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-11-30 21:02:32 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-12-11 11:43:39 -0500 |
commit | 69d08be0830966175b92d68ece8ad0119898fef2 (patch) | |
tree | d93941dfe1e33f294a073c82dd00cd90e1a259fb /apps/settings_list.c | |
parent | 8060c797752c3addbaa8c75e84721fbd3127860f (diff) | |
download | rockbox-69d08be0830966175b92d68ece8ad0119898fef2.tar.gz rockbox-69d08be0830966175b92d68ece8ad0119898fef2.zip |
Additional Single Mode options
In addition to the existing behavior of pausing
after each song, this adds options to pause
after playing current:
Album,
Album Artist,
Artist,
Composer,
Grouping / Work, or
Genre.
Allows you, for example, to only listen to the
remaining movements of a classical work
without having to purge your playlist of any
upcoming songs.
Change-Id: If18f4a5d139320026cc5fcc9adf29dd8e4e028a8
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index f93b3c272a..982b483874 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -1243,7 +1243,18 @@ const struct settings_list settings[] = { | |||
1243 | #endif | 1243 | #endif |
1244 | /* more playback */ | 1244 | /* more playback */ |
1245 | OFFON_SETTING(0,play_selected,LANG_PLAY_SELECTED,true,"play selected",NULL), | 1245 | OFFON_SETTING(0,play_selected,LANG_PLAY_SELECTED,true,"play selected",NULL), |
1246 | OFFON_SETTING(0,single_mode,LANG_SINGLE_MODE,false,"single mode",NULL), | 1246 | CHOICE_SETTING(0, single_mode, LANG_SINGLE_MODE, 0, |
1247 | "single mode", | ||
1248 | "off,track,album,album artist,artist,composer,work,genre", | ||
1249 | NULL, 8, | ||
1250 | ID2P(LANG_OFF), | ||
1251 | ID2P(LANG_TRACK), | ||
1252 | ID2P(LANG_ID3_ALBUM), | ||
1253 | ID2P(LANG_ID3_ALBUMARTIST), | ||
1254 | ID2P(LANG_ID3_ARTIST), | ||
1255 | ID2P(LANG_ID3_COMPOSER), | ||
1256 | ID2P(LANG_ID3_GROUPING), | ||
1257 | ID2P(LANG_ID3_GENRE)), | ||
1247 | OFFON_SETTING(0,party_mode,LANG_PARTY_MODE,false,"party mode",NULL), | 1258 | OFFON_SETTING(0,party_mode,LANG_PARTY_MODE,false,"party mode",NULL), |
1248 | OFFON_SETTING(0,fade_on_stop,LANG_FADE_ON_STOP,true,"volume fade",NULL), | 1259 | OFFON_SETTING(0,fade_on_stop,LANG_FADE_ON_STOP,true,"volume fade",NULL), |
1249 | INT_SETTING(F_TIME_SETTING, ff_rewind_min_step, LANG_FFRW_STEP, 1, | 1260 | INT_SETTING(F_TIME_SETTING, ff_rewind_min_step, LANG_FFRW_STEP, 1, |