summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-08-29 13:02:01 +0200
committerLars-Dominik Braun <lars@6xq.net>2011-08-29 13:07:26 +0200
commitf97f73d03f1ea7b6db6a3ef7d3756680f566f191 (patch)
tree8d805afd655cf7967d27c23cb0855b0e289c1d53 /contrib
parentb8cf55c28e131ebdcb0a32fe0e8c14fefebebcea (diff)
downloadpianobar-windows-f97f73d03f1ea7b6db6a3ef7d3756680f566f191.tar.gz
pianobar-windows-f97f73d03f1ea7b6db6a3ef7d3756680f566f191.tar.bz2
pianobar-windows-f97f73d03f1ea7b6db6a3ef7d3756680f566f191.zip
Customizeable list format (songs)
Fixes #151
Diffstat (limited to 'contrib')
-rw-r--r--contrib/config-example1
-rw-r--r--contrib/pianobar.116
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 = %t by %a on %l%r%@%s
#format_nowplaying_station = Station %n
+#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: