summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--streamer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/streamer.c b/streamer.c
index d304e1a8..2f1a8782 100644
--- a/streamer.c
+++ b/streamer.c
@@ -1375,6 +1375,9 @@ streamer_set_nextsong_real (int song, int pstate) {
output->stop ();
}
streamer_lock ();
+ if (pstate == 1) {
+ badsong = -1;
+ }
nextsong = song;
nextsong_pstate = pstate;
if (output->state () == OUTPUT_STATE_STOPPED) {