settings: add 'execute_on_player_state_change' option
This commit is contained in:
committed by
Andrzej Rybczak
parent
8d12ac790f
commit
4130d3ba24
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user