summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--streamer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/streamer.c b/streamer.c
index 17aabd8e..23131de2 100644
--- a/streamer.c
+++ b/streamer.c
@@ -1385,7 +1385,9 @@ streamer_thread (void *ctx) {
send_songfinished (playing_track);
}
streamer_start_new_song ();
- nextsong_pstate = -1;
+ if (nextsong_pstate == 2) {
+ nextsong_pstate = -1;
+ }
// it's totally possible that song was switched
// while streamer_set_current was running,
// so we need to restart here