Skip to content
nkrp edited this page Feb 9, 2012 · 19 revisions

Install / Build

Before you begin, please note:
  • Pianobar may not work when installed via Synaptic.
  • Pianobar requires streaming audio output, so don't try running it via SSH.

Steps to build

  1. Install dependencies: $ sudo apt-get install libfaad-dev libmad0-dev libao-dev libgnutls-dev make
  2. Clone our fork: $ git clone git@github.com:ChicoTeam/pianobar.git
  3. Change to Pianobar directory: $ cd pianobar
  4. Build Pianobar: $ make
For OSX Users:
  1. Install homebrew by entering $ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" in command line
  2. $ brew install faad2
  3. $ brew install mad
  4. $ brew install libao
  5. $ brew install gnutls
  6. Clone our fork: $ git clone git@github.com:ChicoTeam/pianobar.git
  7. Change to Pianobar directory: $ cd pianobar
  8. Build Pianobar: $ make

Usage

Start Pianobar

$ ./pianobar

When you first start the program, you'll be prompted to log in using your Pandora credentials.

Basic Commands

  • ? : See a list of commands. Note: This only works after a station has been selected.
  • s : Change station
  • q : Quit the program

Tips

  • ALWAYS USE "Q" TO QUIT. Otherwise, your client may become out of sync with Pandora and unusable for hours. There is nothing you can do to fix it if that happens!

API Documentation

There isn't a published API for Pandora, but you can review the code the the following projects: