summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAdam Simpkins <adam@adamsimpkins.net>2013-01-09 11:52:01 -0800
committerLars-Dominik Braun <lars@6xq.net>2013-02-26 15:19:26 +0100
commit847ca4193e3fbc5b27285979888ab364bbf1792e (patch)
tree9bfce2cffe69ddaf74465d6445f589a4de68f42d /contrib
parentefd4f393f0378865902c2138e614e9a5466c40ef (diff)
downloadpianobar-windows-847ca4193e3fbc5b27285979888ab364bbf1792e.tar.gz
pianobar-windows-847ca4193e3fbc5b27285979888ab364bbf1792e.tar.bz2
pianobar-windows-847ca4193e3fbc5b27285979888ab364bbf1792e.zip
Add play and pause commands
Add commands that always play and always pause, in addition to the current toggle pause command. Closes #342.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/config-example6
-rw-r--r--contrib/pianobar.114
2 files changed, 16 insertions, 4 deletions
diff --git a/contrib/config-example b/contrib/config-example
index c854e39..4958e66 100644
--- a/contrib/config-example
+++ b/contrib/config-example
@@ -24,10 +24,14 @@
#act_addshared = j
#act_songmove = m
#act_songnext = n
-#act_songpause = p
+#act_songpause = S
+#act_songpausetoggle = p
+#act_songpausetoggle2 =
+#act_songplay = P
#act_quit = q
#act_stationrename = r
#act_stationchange = s
+#act_stationcreatefromsong = v
#act_songtired = t
#act_upcoming = u
#act_stationselectquickmix = x
diff --git a/contrib/pianobar.1 b/contrib/pianobar.1
index 86f1138..12cd06d 100644
--- a/contrib/pianobar.1
+++ b/contrib/pianobar.1
@@ -113,10 +113,18 @@ Move current song to another station
Skip current song.
.TP
-.B act_songpause = p
+.B act_songpause = S
+Pause playback
+
+.TP
+.B act_songpausetoggle = p
.TQ
-.B act_songpause2 = <Space>
-Pause/Continue
+.B act_songpausetoggle2 = <Space>
+Pause/resume playback
+
+.TP
+.B act_songplay = P
+Resume playback
.TP
.B act_quit = q