diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-08-29 13:02:01 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-08-29 13:07:26 +0200 |
commit | f97f73d03f1ea7b6db6a3ef7d3756680f566f191 (patch) | |
tree | 8d805afd655cf7967d27c23cb0855b0e289c1d53 /contrib | |
parent | b8cf55c28e131ebdcb0a32fe0e8c14fefebebcea (diff) | |
download | pianobar-f97f73d03f1ea7b6db6a3ef7d3756680f566f191.tar.gz pianobar-f97f73d03f1ea7b6db6a3ef7d3756680f566f191.tar.bz2 pianobar-f97f73d03f1ea7b6db6a3ef7d3756680f566f191.zip |
Customizeable list format (songs)
Fixes #151
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/config-example | 1 | ||||
-rw-r--r-- | contrib/pianobar.1 | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/contrib/config-example b/contrib/config-example index bcc1b47..3c13142 100644 --- a/contrib/config-example +++ b/contrib/config-example @@ -46,3 +46,4 @@ # 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 +#format_list_song = %i) %a - %t%r diff --git a/contrib/pianobar.1 b/contrib/pianobar.1 index eae062f..3066ae5 100644 --- a/contrib/pianobar.1 +++ b/contrib/pianobar.1 @@ -183,6 +183,22 @@ usually the value above). See section .B REMOTE CONTROL .TP +.B format_list_song = %i) %a - %t%r +Available format characters: + +.B %i +Song number + +.B %a +Song artist + +.B %t +Song title + +.B %r +Rating icon + +.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: |