Raspberry Pi/Pianobar

From Omnia
Jump to navigation Jump to search

Build and Install

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install screen
screen
# install dependencies
sudo apt-get install git libao-dev libgcrypt11-dev libgnutls-dev libfaad-dev libmad0-dev libjson0-dev make pkg-config
# install FFmpeg manually from source
git clone https://github.com/FFmpeg/FFmpeg.git
cd FFmpeg
./configure
make clean
# 'make' can take several hours
make
sudo make install
cd ..
# install pianobar manually from source
git clone https://github.com/PromyLOPh/pianobar.git
cd pianobar
make clean
make
sudo make install
# configure alsa
sudo nano /usr/share/alsa/alsa.conf
# pcm.front cards.pcm.front => pcm.front cards.pcm.default

TLS Signature:

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


References

lanmaster53.com - http://www.lanmaster53.com/2014/05/raspberry-pi-pianobar/