aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player_thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index af016df60..c06be3d82 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -314,7 +314,8 @@ static void do_play(void)
}
if (decoder_is_idle() && !player.queued &&
- pc.next_song != NULL) {
+ pc.next_song != NULL &&
+ pc.command == PLAYER_COMMAND_NONE) {
/* the decoder has finished the current song;
request the next song from the playlist */
pc.next_song = NULL;