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:
@@ -720,7 +720,6 @@ int playPlaylist(FILE * fp, int song, int stopOnError) {
|
|||||||
else if(song<0 || song>=playlist.length) {
|
else if(song<0 || song>=playlist.length) {
|
||||||
commandError(fp, ACK_ERROR_NO_EXIST,
|
commandError(fp, ACK_ERROR_NO_EXIST,
|
||||||
"song doesn't exist: \"%i\"", song);
|
"song doesn't exist: \"%i\"", song);
|
||||||
playlist_state = PLAYLIST_STATE_STOP;
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user