diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-08-23 17:26:02 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-08-23 17:26:02 +0200 |
commit | b8cf55c28e131ebdcb0a32fe0e8c14fefebebcea (patch) | |
tree | ea01c8c1d9979a1f83d3b56ffb830ebdfea23c4f /contrib | |
parent | df557e9c75d23a66c99a6fdad07b384f7636cb9c (diff) | |
download | pianobar-windows-b8cf55c28e131ebdcb0a32fe0e8c14fefebebcea.tar.gz pianobar-windows-b8cf55c28e131ebdcb0a32fe0e8c14fefebebcea.tar.bz2 pianobar-windows-b8cf55c28e131ebdcb0a32fe0e8c14fefebebcea.zip |
Configureable fifo path
See #149.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/config-example | 1 | ||||
-rw-r--r-- | contrib/pianobar.1 | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/contrib/config-example b/contrib/config-example index 0a52dd6..bcc1b47 100644 --- a/contrib/config-example +++ b/contrib/config-example @@ -37,6 +37,7 @@ #audio_format = mp3 #autostart_station = 123456 #event_command = /home/user/.config/pianobar/eventcmd +#fifo = /tmp/pianobar #sort = quickmix_10_name_az #love_icon = [+] #ban_icon = [-] diff --git a/contrib/pianobar.1 b/contrib/pianobar.1 index 4cbc17a..eae062f 100644 --- a/contrib/pianobar.1 +++ b/contrib/pianobar.1 @@ -177,6 +177,12 @@ File that is executed when event occurs. See section .B EVENTCMD .TP +.B fifo = /home/user/.config/pianobar/ctl +Location of control fifo. Defaults to $XDG_CONFIG_HOME/pianobar/ctl (which is +usually the value above). See section +.B REMOTE CONTROL + +.TP .B format_nowplaying_song = \[dq]%t\[dq] by \[dq]%a\[dq] on \[dq]%l\[dq]%r%@%s Now playing song message format. Available format characters are: @@ -267,8 +273,8 @@ can be controlled through a fifo. You have to create it yourself by executing mkfifo ~/.config/pianobar/ctl -Adjust the path if you set up a $XDG_CONFIG_HOME. Afterwards you can write -commands directly into the fifo. Example (next song): +Adjust the path if you set up a $XDG_CONFIG_HOME or changed the fifo setting. +Afterwards you can write commands directly into the fifo. Example (next song): echo -n 'n' > ~/.config/pianobar/ctl |