mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
This commit is contained in:
parent
70087fb9f3
commit
d20071def0
7 changed files with 45 additions and 5 deletions
|
|
@ -169,12 +169,17 @@ MAKE_MENU(viewer_settings_menu, ID2P(LANG_PLAYLISTVIEWER_SETTINGS),
|
|||
|
||||
/* Current Playlist submenu */
|
||||
MENUITEM_SETTING(warn_on_erase, &global_settings.warnon_erase_dynplaylist, NULL);
|
||||
MENUITEM_SETTING(keep_current_track_on_replace, &global_settings.keep_current_track_on_replace_playlist, NULL);
|
||||
MENUITEM_SETTING(show_shuffled_adding_options, &global_settings.show_shuffled_adding_options, NULL);
|
||||
MENUITEM_SETTING(show_queue_options, &global_settings.show_queue_options, NULL);
|
||||
MENUITEM_SETTING(playlist_reload_after_save, &global_settings.playlist_reload_after_save, NULL);
|
||||
MAKE_MENU(currentplaylist_settings_menu, ID2P(LANG_CURRENT_PLAYLIST),
|
||||
NULL, Icon_Playlist,
|
||||
&warn_on_erase, &show_shuffled_adding_options, &show_queue_options, &playlist_reload_after_save);
|
||||
&warn_on_erase,
|
||||
&keep_current_track_on_replace,
|
||||
&show_shuffled_adding_options,
|
||||
&show_queue_options,
|
||||
&playlist_reload_after_save);
|
||||
|
||||
MAKE_MENU(playlist_settings, ID2P(LANG_PLAYLISTS), NULL,
|
||||
Icon_Playlist,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue