You can clone with
Pianobar has a very extensive set of control mechanisms with fifo and EVENTCMD. The problem is that there is not a way to identify if pianobar is currently playing or paused and the fifo command to pause/play is the same.
Please provide an EVENTCMD for paused/resumed or provide a fifo command to pause and a different one to play.
This will be useful for pausing after inactivity (screensaver) etc.
See #85 (comment) and axelson/pianobar.
So if I understand correctly... The EVENTCMD is used for displaying xmlrpc calls only? I understand wanting to keep the key bindings down so so having a different key-binding for pause and one for play is out. I would have guessed that pausing/resuming would be a xmlrpc call though? Does pause and resume only happen on the client side?
Here's a diff that adds the requested feature: https://gist.github.com/1094665
There is just one problem: You can't tell which state pianobar is currently in from watching the two new events. You'd have to check all the other events (station change, next song, ...) and "guess" whether that event changed the pause state. (I could add a new pause=1/0 field to the eventcmd stream, but it really boils down to one thing:)
The only way to fix this is to turn pianobar into a daemon with a RPC interface, but I already explained why this won't happen. => Won't fix.