diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-12-26 13:31:04 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-12-26 13:31:04 +0000 |
commit | be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed (patch) | |
tree | b0f9cebfb3e4215df4d880a0befc6da7c4d04848 /apps/onplay.c | |
parent | 6ee5e3849480ac6a01545f4637052b58b11463d0 (diff) | |
download | rockbox-be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed.tar.gz 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.c | 5 |
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) | |||
368 | args[i].position = PLAYLIST_INSERT_SHUFFLED; | 368 | args[i].position = PLAYLIST_INSERT_SHUFFLED; |
369 | args[i].queue = true; | 369 | args[i].queue = true; |
370 | i++; | 370 | i++; |
371 | |||
372 | items[i].desc = ID2P(LANG_REPLACE); | ||
373 | args[i].position = PLAYLIST_REPLACE; | ||
374 | args[i].queue = false; | ||
375 | i++; | ||
371 | } | 376 | } |
372 | else if (((selected_file_attr & TREE_ATTR_MASK) == TREE_ATTR_MPA) || | 377 | else if (((selected_file_attr & TREE_ATTR_MASK) == TREE_ATTR_MPA) || |
373 | (selected_file_attr & ATTR_DIRECTORY)) | 378 | (selected_file_attr & ATTR_DIRECTORY)) |