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
This commit is contained in:
parent
7d0ffc96e1
commit
9108df97a0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue