diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-05-16 13:25:08 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-05-18 15:32:11 +0200 |
commit | 3aff781a610e69a4e49d5db386b9885f1f167451 (patch) | |
tree | b8f6222ca40a8f8ac74bc3be848b3cd0c47ac88f /contrib | |
parent | 41f1a727c1b7ebbabf84652bab20361ee7631642 (diff) | |
download | pianobar-windows-3aff781a610e69a4e49d5db386b9885f1f167451.tar.gz pianobar-windows-3aff781a610e69a4e49d5db386b9885f1f167451.tar.bz2 pianobar-windows-3aff781a610e69a4e49d5db386b9885f1f167451.zip |
Update documentation
Describe new config keys, add an example to contrib config file
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/config-example | 4 | ||||
-rw-r--r-- | contrib/pianobar.1 | 53 |
2 files changed, 57 insertions, 0 deletions
diff --git a/contrib/config-example b/contrib/config-example index f96440b..0a52dd6 100644 --- a/contrib/config-example +++ b/contrib/config-example @@ -41,3 +41,7 @@ #love_icon = [+] #ban_icon = [-] #volume = 0 + +# Format strings +#format_nowplaying_song = [32m%t[0m by [34m%a[0m on %l[31m%r[0m%@%s +#format_nowplaying_station = Station [35m%n[0m diff --git a/contrib/pianobar.1 b/contrib/pianobar.1 index 4d63dcd..8df569e 100644 --- a/contrib/pianobar.1 +++ b/contrib/pianobar.1 @@ -172,6 +172,59 @@ File that is executed when event occurs. See section .B EVENTCMD .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: + +.B %t +Song title + +.B %a +Song artist + +.B %l +Album name + +.B %r +Rating icon (only love icon) + +.B %@ +@-sign if station is quickmix + +.B %s +Real station name if quickmix + +.B %u +Song detail url + +.TP +.B format_nowplaying_station = Station \[dq]%n\[dq] (%i) +Now playing station format. Available format characters are: + +.B %n +Station name + +.B %i +Station id + +.TP +.B format_msg_none = %s +.TQ +.B format_msg_info = (i) %s +.TQ +.B format_msg_nowplaying = |> %s +.TQ +.B format_msg_time = # %s +.TQ +.B format_msg_err = /!\\\\ %s +.TQ +.B format_msg_question = [?] %s +.TQ +.B format_msg_list = \\t%s +Message format strings. +.B %s +is replaced with the actual message. + +.TP .B history = 5 Keep a history of the last n songs (5, by default). You can rate these songs. |