Warning: THE VOID WIKI IS DEPRECATED. It is no longer being maintained, contains outdated and incorrect information, and will eventually be shut down. Please refer to the Void Handbook, https://docs.voidlinux.org/, for the official documentation. If you can't find the information you're seeking, please raise an issue at https://github.com/void-linux/void-docs/issues

Pianobar -

From Void Linux Wiki
Jump to navigation Jump to search

Pianobar is a free/open-source console-based client for Pandora radio.

Installation

First, install pianobar and libao

$ xbps-install pianobar libao

Check your libao configuration, located at /etc/libao.conf. If using just ALSA for audio the defaults should be fine:

default_driver=alsa

PulseAudio

If you are using PulseAudio, you will need to install libao-pulse

$ xbps-install libao-pulse

Then change /etc/libao.conf to the following:

default_driver=pulse

Configuration

Create a folder and config file

$ mkdir -p ~/.config/pianobar
$ touch ~/.config/pianobar/config

The bare minimum needed in config is your Pandora account's username and password. Open ~/.config/pianobar/config in your editor of choice and add your credentials:

user=void@email.com
password=password

All other possible configuration settings can be found by looking at pianobar's man page

$ man pianobar