blog/_posts/2013-12-17-install-spotify-...

38 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Install Spotify Client on Pi Model B"
date: 2013-12-17
url: install-spotify-client-on-pi-model-b
layout: post
category: Hacking
---
[![A missing blog post image](/img/blog/install-spotify-client-on-pi-model-b.jpg)](/img/blog/install-spotify-client-on-pi-model-b.jpg)
If you want to use Spotify on a Raspberry, there is two ways.
Firstly, you can install [Pi MusicBox](http://www.woutervanwijk.nl/pimusicbox/), a modified distribution adapted for [Spotify](https://www.spotify.com/), or choose another method : install [Despotify](http://despotify.sourceforge.net/) (you'll need a Premium account).
We'll begin installing some libraries required :
`# apt-get install libao-dev libtool git lbssl-dev libmpg123-dev libvorbis-dev libncursesw5-dev subversion`
Now, we need to download the software from the Web :
`$ svn co https://despotify.svn.sourceforge.net/svnroot/despotify despotify`
We move into the directory downloaded :
`$ cd despotify/src/`
We compile :
`$ make`
We run the installation :
`# make install`
You can now run this client with :
`$ despotify-simple <username> <password>`