playlist_state: add option "restore_paused"

When set, MPD will not auto-start playback on startup; it will be in
"paused" state.
This commit is contained in:
Max Kellermann
2011-02-23 09:09:48 +01:00
parent b57330cf75
commit 2fb40fe728
5 changed files with 18 additions and 0 deletions
+3
View File
@@ -69,6 +69,9 @@ mpd will be saved to this file when mpd is terminated by a TERM signal or by
the "kill" command. When mpd is restarted, it will read the state file and
restore the state of mpd (including the playlist).
.TP
.B restore_paused <yes or no>
Put MPD into pause mode instead of starting playback after startup.
.TP
.B user <username>
This specifies the user that MPD will run as, if set. MPD should
never run as root, and you may use this option to make MPD change its
+5
View File
@@ -103,6 +103,11 @@
#
#gapless_mp3_playback "yes"
#
# Setting "restore_paused" to "yes" puts MPD into pause mode instead
# of starting playback after startup.
#
#restore_paused "no"
#
# This setting enables MPD to create playlists in a format usable by other
# music players.
#