settings: add 'execute_on_player_state_change' option

This commit is contained in:
ben01189998819991197253@users.noreply.github.com
2016-03-02 20:21:16 -06:00
committed by Andrzej Rybczak
parent 8d12ac790f
commit 4130d3ba24
6 changed files with 44 additions and 8 deletions

View File

@@ -286,6 +286,15 @@
##
#execute_on_song_change = ""
#
##
## Note: Custom command that will be executed each
## time player state changes. The environment variable
## MPD_PLAYER_STATE is set to the current state (either
## unknown, play, pause, or stop) for its duration.
##
#
#execute_on_player_state_change = ""
#
#playlist_show_mpd_host = no
#
#playlist_show_remaining_time = no

View File

@@ -152,6 +152,11 @@ Format for songs' list displayed in columns.
.B execute_on_song_change = COMMAND
Shell command to execute on song change.
.TP
.B execute_on_player_state_change = COMMAND
Shell command to execute on player state change. The environment variable
.B MPD_PLAYER_STATE
is set to the current state (either unknown, play, pause, or stop) for its duration.
.TP
.B playlist_show_mpd_host = yes/no
If enabled, current MPD host will be shown in playlist.
.TP