Add mpd-indent.sh
Add a few new options for indent to try to make things a bit cleaner git-svn-id: https://svn.musicpd.org/mpd/trunk@4411 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -1071,7 +1071,11 @@ void playPlaylistIfPlayerStopped(void)
|
||||
else
|
||||
playlist_errorCount++;
|
||||
|
||||
if (playlist_state == PLAYLIST_STATE_PLAY && ((playlist_stopOnError && error != PLAYER_ERROR_NOERROR) || error == PLAYER_ERROR_AUDIO || error == PLAYER_ERROR_SYSTEM || playlist_errorCount >= playlist.length)) {
|
||||
if (playlist_state == PLAYLIST_STATE_PLAY
|
||||
&& ((playlist_stopOnError && error != PLAYER_ERROR_NOERROR)
|
||||
|| error == PLAYER_ERROR_AUDIO
|
||||
|| error == PLAYER_ERROR_SYSTEM
|
||||
|| playlist_errorCount >= playlist.length)) {
|
||||
stopPlaylist(stderr);
|
||||
} else if (playlist_noGoToNext)
|
||||
currentSongInPlaylist(stderr);
|
||||
|
Reference in New Issue
Block a user