pianobartender
Wraps pianobar in a really simple web api
Installation
$ gem install
Usage
Make sure you have [pianobar][pianobar] installed.
Also, make sure you have the control fifo setup:
$ mkdir -p ~/.config/ && mkfifo ~/.config//ctl
Then run pianobar (and login):
$
Finally, in another terminal, just run:
$
To control pianobar, just issue a command via GET:
$ curl http://localhost:9292/command/next
You can use any of the following commands:
- love
- ban
- bookmark
- history
- info
- next
- pause
- unpause
- tired
- upcoming
- voldown
- volup