Commit 9108df97 authored by Warren Dukes's avatar Warren Dukes

remove ickiness ness with play on a non existing file setting playlist_state to stop

git-svn-id: https://svn.musicpd.org/mpd/trunk@1329 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 7d0ffc96
......@@ -720,7 +720,6 @@ int playPlaylist(FILE * fp, int song, int stopOnError) {
else if(song<0 || song>=playlist.length) {
commandError(fp, ACK_ERROR_NO_EXIST,
"song doesn't exist: \"%i\"", song);
playlist_state = PLAYLIST_STATE_STOP;
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment