Pianobar and Pandora

New-Pandora-RadioFor linux users, if you listen to Pandora and would like to run it from terminal. There is a cool  free/open-source, console-based client called Pianobar. However I was able to find a single bug that needed to be adjusted in order to get this working on a linux distro.

Simply download the source from git here.

Installation
=======
 Dependencies Needed.
------------
- gmake
- pthreads
- libao
- gnutls
- gcrypt
- json-c
- libfaad2 (compiled with --without-drm)
- libmad (optional, Pandora One users only)
- UTF-8 console/locale
Building
--------
If you have all of the dependencies listed above just type
gmake clean && gmake
You can run the client directly from the source directory now
1
./pianobar
Or install it by issuing
gmake install
Selecting features
++++++++++++++++++
It is possible to disable certain features when building pianobar by setting
one of the variables listed below. In fact it is required if you don’t have the
corresponding library installed. So if you don’t want AAC playback or don’t
have libfaad installed for example, run
gmake DISABLE_FAAD=1
instead of a plain `gmake`.
DISABLE_FAAD=1
Disables AAC playback.
DISABLE_MAD=1
Disables MP3 playback.
Ubuntu 12.04
++++++++++++
To install on Ubuntu >= 12.04
sudo apt-get install \
libao-dev \
libmad0-dev \
libfaad-dev \
libgnutls-dev \
libjson0-dev \
libgcrypt11-dev
make
sudo make install
This issue is in
1
~/.config/pianobar/config file.
You will need to edit the tls_fingerprint to:

tls_fingerprint = 2D0AFDAFA16F4B5C0A43F3CB1D4752F9535507C0

Once this is added to the config, you can then fire it up with `pianobar` ENJOY!
Printed from: http://linuxterminal.org/pianobar-and-pandora/ .
© Jeff Rangel 2013.

2 Comments   »

RSS feed for comments on this post , TrackBack URI

Leave a Reply

CommentLuv badge