Hardware Reference
In-Depth Information
When you log in, you'll see a token appear on the page. Add this token to the set
tings.ini file, similar to this:
SOUNDCLOUD_TOKEN = '1-1111-111111'
SOUNDCLOUD_EXPLORE = 'electronic/Ambient, pop/New Wave, rock/Indie'
Replace the example 1-111-111111 with your token. Use the SOUNDCLOUD_EXPLORE
configuration to configure the playlists you want to see in the interface.
Multi-room audio
Pi MusicBox supports multi-room audio, meaning you can have multiple Raspberry
Pis on your network, even in different rooms. The devices need to have their own
names to be accessible. Use this option to give your MusicBox a different name:
NAME = 'Kitchen'
The name you choose should be no than nine alphanumeric characters (no spaces,
dots, etc.). After a new boot, the web interface for playing music will be accessible via
a new address. Where the default would be http://musicbox.local from devices that
support Bojour/Avahi, when you change the name, it becomes http://
newname.local . In the previous example, it would be http://kitchen.local/ .
It's not possible to play different music on multiple devices using the same Spotify
account at the same time, unless you have multiple accounts. This is a limitation of
Spotify.
Music Player Daemon (MPD)
Though the web-based interface is recommended, you can also use native software
that supports the Music Player Daemon (MPD) protocol to control Pi MusicBox. Apps
and applications are available for all sorts of devices and operating systems. Not all
of them work great with MusicBox, though.
For Android, MPDroid is recommended. On OS X, Theremin works (without search).
On Linux, you can use the excellent (and wonderfully named) console app ncmpcpp . On
a Linux desktop, GMPC and Sonata work well. On iOS, try mPod and mPad. For Win-
dows, clients either don't work well or are untested.
The Pi can play the music from Spotify in different levels of quality. The better the
quality, the more data needs to be downloaded from Spotify (this is called bitrate ).
Higher quality means a higher bitrate and a bit more use of your Internet connection.
Typical broadband connections should be able to support the highest bitrate easily.
If you have a good connection to the Internet, you can set the quality to high, but if
your connection is slow or unstable, or if you have usage limits on your connection,
Search WWH ::




Custom Search