An open API service indexing awesome lists of open source software.

https://github.com/avidit/pianobar-notifier

terminal :information_source: notifications for pianobar :parking:andora
https://github.com/avidit/pianobar-notifier

pandora pianobar terminal-notifier

Last synced: about 1 month ago
JSON representation

terminal :information_source: notifications for pianobar :parking:andora

Awesome Lists containing this project

README

        

# pianobar-notifier

Terminal notifications for [pianobar](https://github.com/PromyLOPh/pianobar)

![notification](notification.png)

Using pianobar's `eventcmd` interface, this script uses [terminal-notifier](https://github.com/julienXX/terminal-notifier) to pop up notifications for **Now Playing!**

## Installation

* Download the script or clone the repo

```sh
git clone https://github.com/avidit/pianobar-notifier.git
```

* Copy the script to pianobar config folder `~/.config/pianobar/`

```sh
cp pianobar-notifier.rb ~/.config/pianobar/
```

* Add the following line to pianobar config file `~/.config/pianobar/config`

```ini
event_command = ~/.config/pianobar/pianobar-notifier.rb
```

If you don't have above directory or file, go ahead and create it. For more information take a look at [example config file](https://github.com/PromyLOPh/pianobar/blob/master/contrib/config-example)

## Requirements

* [Ruby](https://www.ruby-lang.org)
* [Pandora account](https://www.pandora.com/account/register)
* [pianobar](https://github.com/PromyLOPh/pianobar)
* [terminal-notifier](https://github.com/julienXX/terminal-notifier)