diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-04-22 19:26:37 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-05-14 16:05:46 +0100 |
commit | d20071def023b9ddac34559951871e037bd59785 (patch) | |
tree | acaba3fdd1b2db2a37ec1ba396672dae2521f831 /apps/settings_list.c | |
parent | 70087fb9f383af48c5fecb1aa275f4a68cda3298 (diff) | |
download | rockbox-d20071def023b9ddac34559951871e037bd59785.tar.gz rockbox-d20071def023b9ddac34559951871e037bd59785.zip |
apps: Add "keep current track when replacing playlist" setting
Add a setting that makes Play and Play Shuffled in the playlist
context menu leave the current song (if any) playing when they
replace the playlist. Default to on, since this was the behavior
of the old "Clear List & Play Next" option.
Change-Id: I1340aed5c28bb3244e36d0953b3308ae59681c97
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index c2dec49499..0e39a58b1a 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -1753,9 +1753,11 @@ const struct settings_list settings[] = { | |||
1753 | ID2P(LANG_CODEPAGE_JAPANESE), | 1753 | ID2P(LANG_CODEPAGE_JAPANESE), |
1754 | ID2P(LANG_CODEPAGE_SIMPLIFIED), ID2P(LANG_CODEPAGE_KOREAN), | 1754 | ID2P(LANG_CODEPAGE_SIMPLIFIED), ID2P(LANG_CODEPAGE_KOREAN), |
1755 | ID2P(LANG_CODEPAGE_TRADITIONAL), ID2P(LANG_CODEPAGE_UTF8)), | 1755 | ID2P(LANG_CODEPAGE_TRADITIONAL), ID2P(LANG_CODEPAGE_UTF8)), |
1756 | |||
1756 | OFFON_SETTING(0, warnon_erase_dynplaylist, LANG_WARN_ERASEDYNPLAYLIST_MENU, | 1757 | OFFON_SETTING(0, warnon_erase_dynplaylist, LANG_WARN_ERASEDYNPLAYLIST_MENU, |
1757 | true, "warn when erasing dynamic playlist",NULL), | 1758 | true, "warn when erasing dynamic playlist",NULL), |
1758 | 1759 | OFFON_SETTING(0, keep_current_track_on_replace_playlist, LANG_KEEP_CURRENT_TRACK_ON_REPLACE, | |
1760 | true, "keep current track when replacing playlist",NULL), | ||
1759 | OFFON_SETTING(0, show_shuffled_adding_options, LANG_SHOW_SHUFFLED_ADDING_OPTIONS, true, | 1761 | OFFON_SETTING(0, show_shuffled_adding_options, LANG_SHOW_SHUFFLED_ADDING_OPTIONS, true, |
1760 | "show shuffled adding options", NULL), | 1762 | "show shuffled adding options", NULL), |
1761 | CHOICE_SETTING(0, show_queue_options, LANG_SHOW_QUEUE_OPTIONS, 1, | 1763 | CHOICE_SETTING(0, show_queue_options, LANG_SHOW_QUEUE_OPTIONS, 1, |