summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-04-22 19:26:37 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-05-14 16:05:46 +0100
commitd20071def023b9ddac34559951871e037bd59785 (patch)
treeacaba3fdd1b2db2a37ec1ba396672dae2521f831 /apps/settings.h
parent70087fb9f383af48c5fecb1aa275f4a68cda3298 (diff)
downloadrockbox-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.h')
-rw-r--r--apps/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 53d7d35cae..9af8e27e5e 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -607,6 +607,7 @@ struct user_settings
607 bool fade_on_stop; /* fade on pause/unpause/stop */ 607 bool fade_on_stop; /* fade on pause/unpause/stop */
608 bool playlist_shuffle; 608 bool playlist_shuffle;
609 bool warnon_erase_dynplaylist; /* warn when erasing dynamic playlist */ 609 bool warnon_erase_dynplaylist; /* warn when erasing dynamic playlist */
610 bool keep_current_track_on_replace_playlist;
610 bool show_shuffled_adding_options; /* whether to display options for adding shuffled tracks to dynamic playlist */ 611 bool show_shuffled_adding_options; /* whether to display options for adding shuffled tracks to dynamic playlist */
611 int show_queue_options; /* how and whether to display options to queue tracks */ 612 int show_queue_options; /* how and whether to display options to queue tracks */
612#ifdef HAVE_ALBUMART 613#ifdef HAVE_ALBUMART