Install Pianobar from Source in Fedora 22
Needed Repos
Steps done as root user
Install the RPM Fusion repos
dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Needed Packages
Steps done as root user
I started writing this after assuming my old doc still 'worked' in Fedora 22 so there may be a few packages listed here that are really not needed...
dnf install git ffmpeg-devel gnutls-devel json-c-devel libgcrypt-devel make libao-devel faad2-devel libmad-devel libao faad2-libs libcurl-devel
Getting Pianobar Source Code
Steps done as root user
You can do this anywhere really, but I decided to throw it in /usr/local/src
cd /usr/local/src
git clone https://github.com/PromyLOPh/pianobar.git
Compile
Steps done as root user
cd pianobar
make
make install
Configure
These steps done as your normal user
mkdir ~/.config/pianobar
cd ~/.config/pianobar/
cp /usr/local/src/pianobar/contrib/config-example config
Edit ~/.config/pianobar/config
. This is what my config file looks like:
# This is an example configuration file for pianobar. You may remove the # from
# lines you need and copy/move this file to ~/.config/pianobar/config
# See manpage for a description of the config keys
#
# User
user = my-awesome-username@sooper-email.biz
password = SooperSecret123
# high-quality audio (192k mp3, for Pandora One subscribers only!)
audio_quality = high
rpc_host = internal-tuner.pandora.com
partner_user = pandora one
partner_password = TVCKIBGS9AO9TSYLNNFUML0743LH82D
device = D01
encrypt_password = 2%3WCL*JU$MP]4
decrypt_password = U#IO$RZPAB%VX2