From 847ca4193e3fbc5b27285979888ab364bbf1792e Mon Sep 17 00:00:00 2001 From: Adam Simpkins Date: Wed, 9 Jan 2013 11:52:01 -0800 Subject: Add play and pause commands Add commands that always play and always pause, in addition to the current toggle pause command. Closes #342. --- contrib/config-example | 6 +++++- contrib/pianobar.1 | 14 +++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) (limited to 'contrib') 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 = -Pause/Continue +.B act_songpausetoggle2 = +Pause/resume playback + +.TP +.B act_songplay = P +Resume playback .TP .B act_quit = q -- cgit v1.2.3