aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-03 02:56:26 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-03 02:56:26 +0000
commit15c61f6eb06b43097678682f7022d55f4aed9ce0 (patch)
tree27bf0fc4c1d207a501c7ad64b710b2c8dcc15938 /src/playlist.c
parenta29e38bef536c6f824d23fffe2e18c43ac01b5c4 (diff)
downloadmpd-15c61f6eb06b43097678682f7022d55f4aed9ce0.tar.gz
mpd-15c61f6eb06b43097678682f7022d55f4aed9ce0.tar.xz
mpd-15c61f6eb06b43097678682f7022d55f4aed9ce0.zip
don't stop on play command!
git-svn-id: https://svn.musicpd.org/mpd/trunk@1313 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/playlist.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 75b812338..1dea4b7ce 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -825,16 +825,21 @@ void playPlaylistIfPlayerStopped() {
if(error==PLAYER_ERROR_NOERROR) playlist_errorCount = 0;
else playlist_errorCount++;
+ printf("HERE 1\n");
if(playlist_state==PLAYLIST_STATE_PLAY && (
(playlist_stopOnError &&
error!=PLAYER_ERROR_NOERROR) ||
error==PLAYER_ERROR_AUDIO ||
error==PLAYER_ERROR_SYSTEM ||
playlist_errorCount>=playlist.length)) {
+ printf("HERE 1-1\n");
+ printf("playlist_stopOnError: %i\n", playlist_stopOnError);
stopPlaylist(stderr);
+ printf("HERE 1-2\n");
}
else if(playlist_noGoToNext) currentSongInPlaylist(stderr);
else nextSongInPlaylist(stderr);
+ printf("HERE 2\n");
}
}