From be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 26 Dec 2006 13:31:04 +0000 Subject: Accept FS#6464 by Chris Taylor. Adds a "Play Next" playlist insertion option which replaces the current playlist with the new selection but keeps the current track queued so playback doesnt stop. (minor fixes by me) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11842 a1c6a512-1295-4272-9138-f99709370657 --- apps/onplay.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/onplay.c') diff --git a/apps/onplay.c b/apps/onplay.c index af6fa9cc57..98b1270b89 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -368,6 +368,11 @@ static bool playlist_options(void) args[i].position = PLAYLIST_INSERT_SHUFFLED; args[i].queue = true; i++; + + items[i].desc = ID2P(LANG_REPLACE); + args[i].position = PLAYLIST_REPLACE; + args[i].queue = false; + i++; } else if (((selected_file_attr & TREE_ATTR_MASK) == TREE_ATTR_MPA) || (selected_file_attr & ATTR_DIRECTORY)) -- cgit v1.2.3