Skip to content

Instantly share code, notes, and snippets.

@brantfaircloth
Created March 13, 2010 06:44
Show Gist options
  • Save brantfaircloth/331169 to your computer and use it in GitHub Desktop.
Save brantfaircloth/331169 to your computer and use it in GitHub Desktop.
# Install MacPorts or make sure it's squared away with:
sudo port selfupdate
# Install libao
sudo port install libao
# Install faad2
sudo port install faad2
# Install libmad
sudo port install libmad
# Install cmake
sudo port install cmake
# Clone the code from Github (in some local directory)
git clone git://github.com/PromyLOPh/pianobar.git
# Move into the newly cloned directory
cd someLocalDirectory/pianobar/
# Build the code
cmake .
make
sudo make install
# Create a directory for the configuration file and create the file
mkdir ~/.config/pianobar/
touch ~/.config/pianobar/config[/code]
# Edit your config file (see `man pianobar`):
user = [email protected]
password = my_password
audio_format = mp3-hifi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment