diff options
Diffstat (limited to '')
-rw-r--r-- | src/playlist.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/playlist.h b/src/playlist.h index eaaba9647..7a6a3a8d7 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -56,6 +56,20 @@ typedef struct _Playlist { bool playing; /** + * If true, then any error is fatal; if false, MPD will + * attempt to play the next song on non-fatal errors. During + * seeking, this flag is set. + */ + bool stop_on_error; + + /** + * Number of errors since playback was started. If this + * number exceeds the length of the playlist, MPD gives up, + * because all songs have been tried. + */ + unsigned error_count; + + /** * The "current song pointer". This is the song which is * played when we get the "play" command. It is also the song * which is currently being played. |