diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/player_control.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player_control.c b/src/player_control.c index 1828a1ca0..220d39a22 100644 --- a/src/player_control.c +++ b/src/player_control.c @@ -255,9 +255,10 @@ void pc_enqueue_song(struct song *song) { assert(song != NULL); - assert(pc.next_song == NULL); player_lock(); + assert(pc.next_song == NULL); + pc.next_song = song; player_command_locked(PLAYER_COMMAND_QUEUE); player_unlock(); |