summaryrefslogtreecommitdiffstats
path: root/apps/onplay.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-12-26 13:31:04 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-12-26 13:31:04 +0000
commitbe3f29cc11a1d31a4bacee16a8ca2f1a9de2caed (patch)
treeb0f9cebfb3e4215df4d880a0befc6da7c4d04848 /apps/onplay.c
parent6ee5e3849480ac6a01545f4637052b58b11463d0 (diff)
downloadrockbox-be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed.tar.gz
rockbox-be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed.tar.bz2
rockbox-be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed.zip
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
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c5
1 files changed, 5 insertions, 0 deletions
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))