Hardware Reference
In-Depth Information
File1=http://vprbbc.streamguys.net:8000/vprbbc24.mp3
Title1=BBC World Service
Length1=-1
version=2
The stream URL in this example is http://vprbbc.streamguys.net:8000/
vprbbc24.mp3 . M3U and XSPF files look different, but the stream URL is always clearly
visible.
As you can see in Figure 5-4 , several streams are already set up when you first use Pi
MusicBox.
Figure 5-4.
Ready-to-go web radio stations in Pi MusicBox
You can find radio stations (PLS and M3U) using services like http://dir.xiph.org/ , Lis-
tenlive.eu, or Dirble.com. Add the stream URL and the name of the station and press
the Play button. The last 25 stations are saved locally using a browser cookie (not on
the server yet, so you need to do it on every client you use).
Pi MusicBox also supports Last.fm, which collects the tracks you play so you can
discover new music. Go to http://www.last.fm to create an account if you don't already
have one. To let Last.fm collect the tracks you play, fill in the credentials of this service:
LASTFM_USERNAME = 'lastfmuser'
LASTFM_PASSWORD = 'lastfmpassword'
Another service supported by Pi MusicBox is SoundCloud, the service that lets you
“hear the world's sounds.” To configure it, you need a special ID, a token that you can
get from http://www.mopidy.com/authenticate . You have to log in with your Sound-
Cloud ID to get the token. This information is not shared with the mopidy.com site.
Search WWH ::




Custom Search