aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-04 03:15:37 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-04 03:15:37 +0000
commit9108df97a0e522933aae93ef57b25a1910359288 (patch)
tree8c3a90e2c1ee8fce2ad0fd31f8c9a495907ec12f /src
parent7d0ffc96e12fe659e7f5f6464321b19e76ff1529 (diff)
downloadmpd-9108df97a0e522933aae93ef57b25a1910359288.tar.gz
mpd-9108df97a0e522933aae93ef57b25a1910359288.tar.xz
mpd-9108df97a0e522933aae93ef57b25a1910359288.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/playlist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/playlist.c b/src/playlist.c
index ad2e7d2f3..c7da3fa38 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -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;
}