Skip to content

Installing Pianobar in Fedora

This is way out of date now

The information in this post is so out-dated that I wonder why I'm keeping it around. I guess I'm a digital hoarder...

Pianobar is a command line Pandora radio client.

Disclaimer: Due to the nature of this software, one might suggest getting the paid version of Pandora to make yourself feel better when using this. (pianobar has infinite skips and no ads...)

Fedora 16 or 17

Repos

yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Dependencies

yum install wget gnutls-devel json-c-devel libgcrypt-devel make libao-devel faad2-devel libmad-devel libao faad2-libs

Compile

cd /tmp/
wget http://6xq.net/projects/pianobar/pianobar-2012.06.24.tar.bz2
tar -xvf pianobar-2012.06.24.tar.bz2
cd pianobar-2012.06.24
make
sudo make install

Example Config

# 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 = user.name@whatever.com
password = SOoperSEEcrit

# Recording Settings
audio_file_dir = /path/to/your/music
# The file name pattern relative to the audio file directory.  A '/' creates a
# directory.
# %artist = The artist name
# %album = The album name
# %disc = The disc number
# %track = The track number
# %title = The song title
# %station = The station name
audio_file_name = %artist/%album/%artist-%title
# If true spaces will not be replaced with '_' in the file names.
use_spaces = false
# If true the cover art will be embedded in the audio file's meta data.
embed_cover = true

# 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
tls_fingerprint = B0A1EB460B1B6F33A1B6CB500C6523CB2E6EC946