Linux/Pandora
< Linux
(Redirected from Linux/Pianobar)Pandora
Pianobar
Red hat:
# install RPMForge # 32bit rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm # 64bit rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
yum install pianobar # really outdated!
Debian/Ubuntu
apt-get install pianobar
Configure:
mkdir -p ~/.config/pianobar cat > ~/.config/pianobar/config << "EOF" # login credentials user = [USERNAME] password = [PASSWORD] # avoid TLS handshake issue tls_fingerprint = 2D0AFDAFA16F4B5C0A43F3CB1D4752F9535507C0 autostart_station = 713040038180498234 EOF
-
Error:
Login... Network error: TLS handshake failed.
Solution:
Get fingerprint: [1]
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)
# CentOS yum install gmake gcc make kernel-devel gnutls-devel libao-devel faad2-devel # mad? json?
# Ubuntu apt-get install gcc make pkg-config libgcrypt11-dev libgnutls-dev libfaad-dev libjson0-dev libmad0-dev libao-dev
# Stable Version 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
# instructions say to use gmake??? gmake clean && gmake ./pianobar # test gmake install
# Git Version apt-get install git git clone http://github.com/PromyLOPh/pianobar/ cd pianobar make