Audio Player for Spotify and Google Music
Connect Spotify, Google Music and SoundCloud to your audio set or speakers using the Raspberry Pi and control it from your couch! An easy to use SD-image for the Pi. AirPlay included!
Standalone Spotify, Google Music, SoundCloud music player based on Mopidy
Remote control it with a nice browser-interface, or with an MPD-client
No need for tinkering, no need to use the Linux
USB Audio support (supporting all kinds of USB soundcards, speakers, headphones).
Wifi support (WPA, if the Pi-kernel supports your wifi-adapter)
i2s support (HifiBerry)
Play music files from the SD, USB, Network.
Working Raspberry Pi
Speakers/amplifier (analog or USB)
SD-Card, 1GB minimum
Computer with a modern browser; tablet or phone. The webinterface is tested with
recent versions of Firefox, Chrome and iOS (iPad/iPhone), modern versions of Android (Chrome Mobile, Firefox Mobile).
Internet Explorer version 10 works, earlier versions don't. You can also use an
MPD client to connect.
Spotify Premium, Google Music (All Access) or SoundCloud account for streaming.
Download the image. It's around 223MB in (compressed) size; 950MB uncompressed:
This can take a while, so in the meantime, please spread the word!
Extract the zip-file. Put the resulting image on your sd-card by following these
. The image is for a 1GB card, but you can put it on a
larger one. A manual is included in the Zip.
Open the contents of the 'config' folder of SD-Card in your
Add your credentials of your Spotify Premium account, Google, SoundCloud, LastFM, Wifi, etc to the file
It has instructions on what to put where.
MusicBox will autodetect usb audiocards/speakers/boxes and hdmi.
It's possible to override this in the ini-file. For example if you want to use analog out while having hdmi connected.
Detailed instructions can be found in the Manual
Start me up!
Put the card in the Pi
Connect cables (You don't have to connect a monitor to the Pi if you
don't want to)
To use Wifi and USB-Audio you have to plugin the devices before you
start the Pi. Restart if you plug them in later.
Power on your Pi
Wait for a while... So in the meantime, follow us!
Accessing the music
Point your browser to the Pi. Depending on your network and computers,
it will be available at this address:
Most OS X/iOS and Windows devices probably will find it immediately. If it doesn't work, you could try to
install Apple Bonjour/iTunes in Windows to make it work. Linux should also work if Avahi or Samba/Winbind is installed.
Using Android, you have to point your browser to the MusicBox using the IP-address of your Pi, e.g.
(fill in your own!).
There is no way to change that for now, unless Android would support it,
The IP-address is printed on the screen when
MusicBox is started. Connect a monitor/tv to find out. Or use a network/bonjour scanning utility.
MusicBox 0.4.3 (8 january 2014, ZIP MD5: 314303d57ec4691556763e350aa3a87e ) contains the following improvements:
- USB disks mounted at boot and scanned for music
- Better recognition of USB Dacs (Simon)
- Better scrolling on iOS
- Start SSH before filescan
- Slightly smaller image file (did not fit on all cards)
MusicBox 0.4.2.1 (31 december 2013, ZIP MD5: 1d641b0a1ac0ac9d406aab6b91530092 ) contains the following improvements:
- Bugfixes for Spotify bitrate and default volume
- Again: No hamsters were harmed during the production
MusicBox 0.4.2 (30 december 2013, ZIP MD5: 628139ef3762b4ac947f1d054e94c1bc ) contains the following improvements:
- Best sounding Pi MusicBox ever! No hiccups, no unwanted noises, just music!
- Shutdown/Reboot from interface
- Font-icons for shuffle/repeat in interface
- Newer Kernel: 3.10.24+ (i2s included)
- Disabled power management for wireless dongles
- Better hdmi support (hotplug, force open)
- Split startup script into multiple files for better management
- Initial i2s support by Simon de Bakker/HifiBerry
- Set default volume in config file (Simon again)
- Log file viewable via webinterface ( http://musicbox.local/log )
- Initial work to support a settings page in the webinterface (not working yet)
- No hamsters were harmed during the production
MusicBox 0.4.1 (21 december 2013, ZIP MD5: 8aacbf1d37bafc29182e497bbb34a890 ) contains the following improvements:
Bugfix for SoundCloud in webinterface
- Bugfix for distorted sound on some webradiostations
MusicBox 0.4 (15 december 2013, ZIP MD5: c533b3daca86da80a1084c7b0704fa3a ) contains the following improvements:
- New, much improved webinterface
- Use multiple Pi's on the same network (Multiroom Audio)
- Webradio support
- SoundCloud support (beta!)
- Google Music support (alpha!)
- More stable
- Windows workgroup name configuration
- Other big updates to web client (faster, cleaner, more stable, more options)
- Big updates to Mopidy music server
- Optimizations to have less services running, less logging, less writes to SD-Card, less unwanted noises
- Better security trough a simple firewall
- Mopidy runs as a normal user
- SSH service disabled by default
- Automatically change passwords of musicbox and root users
MusicBox 0.3 contains the following improvements:
All configuration is done in one ini-file
Much smaller download
HDMI output enabled
Autodetection of HDMI, USB, analog at start (you can override this in the ini-file)
LastFM scrobbling enabled
Webinterface updated (speedier)
Settings editable with Windows Notepad
Works on 1GB SD-Card
Initial support for playback of local mp3 files on the SD-Card and putting them there via Windows networking (see instructions)
Initial support for playback of mp3 files on a Windows Network share (see instructions)
Automatic resizing to the size of the SD-card (use at your own risk...)
v0.2.2: Windows finds the musicbox.local address by itself now (samba).
v0.2.1: Removed ugly sounds on analog port when changing tracks (pulseaudio). An USB-soundcard is still recommended.
v0.2: New, much nicer web-interface (Jquery Mobile).
v0.2: Based on Raspbian (Moebius) for better performance and stability
This is system not totally secured. Don't run it outside a firewall!
The Mopidy musicserver is not completely protected
Also, the passwords of Spotify and wifi are stored in plain text on
It's easy to login to the server with the root login and
the password musicbox (remote login is not enabled by default though).
Support & Contact
Please refer to the Frequently Asked Questions and the Manual before asking questions.
You can discuss features and problems on the Google Group (maillist/forum) of Mopidy
. Please report problems about MusicBox itself at the repo at Github
. On FaceBook
, you can contact us. You can also try the
channel on Freenode
or the Raspberry
If you wish to contact us you can use the Facebook/Twitter links at the top of the page.
Pi MusicBox is based on the following great projects:
Raspbian (based on Debian (based on Linux))
Mopidy (+ my own Mopidy
All the projects that are used to create the these projects
All the projects that are used to create the projects that are used
to create these projects
All the projects that ...
A lot of people giving solutions on forums...
And of course the work of the guys 'n girls who brought you the Raspberry