Random Raspberry Pi - Tutorials and Fix's and How to's from Random_robbie the raspberry pi Geek
Tuesday, 14 January 2014
LMS up and running? Just one step left to turn your raspi into the best internet radio.
If you looked closely what is in allthingspi package you may had found squeezeslave, but as LMS works perfectly with allthingspi package squeezeslave does not, so we have to do it different way.
Make a temporary directory for squeezeslave
Pick a correct version from https://code.google.com/p/squeezeslave/downloads/list depending on wheter you have soft float or hard float version. If you do not know which one to choose, you probably have a hard float version. Check it with uname -a command, if you have soft float your architecture will be armel, I have hard float version:
Linux raspbmc 3.6.11 #2 PREEMPT Wed Mar 13 17:12:47 UTC 2013 armv6l GNU/Linux
If you get a below error you can use wget --no-check-certificate to skip checking site certificate , assuming you know what you download and you trust this site. Downloading Squezeslave from Googlecode is safe but use this option wisely in future.
Connecting to squeezeslave.googlecode.com (squeezeslave.googlecode.com)|18.104.22.168|:443... connected.
ERROR: The certificate of `squeezeslave.googlecode.com' is not trusted.
ERROR: The certificate of `squeezeslave.googlecode.com' hasn't got a known issuer.
Unpack squeezesalve and copy binary to /usr/bin:
tar -zxvf squeezeslave-1.3-390-armhf-lnx32.tar.gz
cp squeezeslave /usr/bin/squeezeslave
Check if it works by checking avaliable outputs:
0: (ALSA) DigiHug USB Audio: USB Audio (hw:0,0) (11/46)
1: (ALSA) DigiHug USB Audio: USB Audio #1 (hw:0,1) (10/42)
2: (ALSA) sysdefault (42/42)
3: (ALSA) front (11/46)
4: (ALSA) surround40 (11/46)
5: (ALSA) iec958 (11/46)
6: (ALSA) spdif (11/46)
* 7: (ALSA) default (42/42)
8: (ALSA) dmix (42/42)
As you can see there are a bunch of possible outputs, if you don’t have external audio card choose default, but I strongly recommend using external usb audio card, output from raspis jack is terible. I use fiio e10 (fiio.com.cn) and fiio d5 (discontinued but you can still find it in stores), superb audio quality for this price and no install required, just plug’n'play.