Book Image

Raspberry Pi Blueprints

Book Image

Raspberry Pi Blueprints

Overview of this book

Table of Contents (17 chapters)
Raspberry Pi Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up the Pi as a Squeezebox client


In order to use the Pi as a Squeezebox client, we will use the open source software, squeezelite (https://code.google.com/p/squeezelite).

First, we need to install some prerequisites on the Pi which are required to run the squeezelite software, which can be done using the following command:

sudo apt-get install -y libflac-dev libfaad2 libmad0

Next, we will download the precompiled squeezelite binary from the Google Code page using wget. We will give it execute permissions to it and move it into the binary directory, allowing it to be executed like any other command-line application:

wget http://squeezelite-downloads.googlecode.com/git/squeezelite-armv6hf
sudo chmod a+x squeezelite-armv6hf
sudo mv squeezelite-armv6hf /usr/bin

Now that the client application is installed, we will do a little bit of testing to be sure that the setup is working properly. We will do this to determine the parameters that need to be passed to the client to get the best audio...