Fix faulty Play Shuffled behavior (FS#13347)
When replacing a dynamic playlist with Play Shuffled, the current track could incorrectly be left at the end of the new playlist. Fix this - the current track should always be at the beginning, so it can be skipped past regardless of the repeat/shuffle mode. Change-Id: Ia86539bc23ad8ebd714b8dc50b5720671b4ad0a9
This commit is contained in:
parent
2315266628
commit
2f71571c0a
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ static struct add_to_pl_param addtopl_queue_shuf = {PLAYLIST_INSERT_SHUFFL
|
||||||
static struct add_to_pl_param addtopl_queue_last_shuf = {PLAYLIST_INSERT_LAST_SHUFFLED, 1, 0};
|
static struct add_to_pl_param addtopl_queue_last_shuf = {PLAYLIST_INSERT_LAST_SHUFFLED, 1, 0};
|
||||||
|
|
||||||
static struct add_to_pl_param addtopl_replace = {PLAYLIST_INSERT, 0, 1};
|
static struct add_to_pl_param addtopl_replace = {PLAYLIST_INSERT, 0, 1};
|
||||||
static struct add_to_pl_param addtopl_replace_shuffled = {PLAYLIST_INSERT_SHUFFLED, 0, 1};
|
static struct add_to_pl_param addtopl_replace_shuffled = {PLAYLIST_INSERT_LAST_SHUFFLED, 0, 1};
|
||||||
|
|
||||||
/* CONTEXT_[TREE|ID3DB|STD] playlist options */
|
/* CONTEXT_[TREE|ID3DB|STD] playlist options */
|
||||||
static int add_to_playlist(void* arg)
|
static int add_to_playlist(void* arg)
|
||||||
|
|
Loading…
Reference in a new issue