Linux/Pandora

Pianobar
Red hat: rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
 * 1) install RPMForge
 * 2) 32bit
 * 1) 64bit

yum install pianobar # really outdated!

Debian/Ubuntu apt-get install pianobar

Configure: mkdir -p ~/.config/pianobar

cat > ~/.config/pianobar/config << "EOF" user = [USERNAME] password = [PASSWORD] tls_fingerprint = 2D0AFDAFA16F4B5C0A43F3CB1D4752F9535507C0 autostart_station = 713040038180498234 EOF
 * 1) login credentials
 * 1) avoid TLS handshake issue

-

Error: Login... Network error: TLS handshake failed.

Solution:

Get fingerprint: openssl s_client -connect tuner.pandora.com:443 < /dev/null 2> /dev/null | \ openssl x509 -noout -fingerprint | tr -d ':' | cut -d'=' -f2

-

Manual Installation: (haven't gotten CentOS to build yet)

yum install gmake gcc make kernel-devel gnutls-devel libao-devel faad2-devel # mad? json?
 * 1) CentOS

apt-get install gcc make pkg-config libgcrypt11-dev libgnutls-dev libfaad-dev libjson0-dev libmad0-dev libao-dev
 * 1) Ubuntu

wget http://6xq.net/projects/pianobar/pianobar-2013.09.15.tar.bz2 tar xvf pianobar-2013.09.15.tar.bz2 cd pianobar-2013.09.15 make clean && make ./pianobar make install
 * 1) Stable Version

gmake clean && gmake ./pianobar  # test gmake install
 * 1) instructions say to use gmake???

apt-get install git git clone http://github.com/PromyLOPh/pianobar/ cd pianobar make
 * 1) Git Version