Squeezeslave on the core

From LinuxMCE
Revision as of 22:23, 18 June 2008 by Jspeckman (Talk | contribs) (New page: Here's how to setup squeezeslave to run on the core. It's fairly straight forward. One small issue is that because squeezeslave uses the OSS interface you will need a separate sound card...)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Here's how to setup squeezeslave to run on the core. It's fairly straight forward. One small issue is that because squeezeslave uses the OSS interface you will need a separate sound card for each instance of squeezeslave you want to run.

First download a version of Squeezeslave. I'm running the latest version as it fixed some playback bugs I was having, but any version that works with you're setup should be fine. You'll want to put it somewhere in you're path. I have mine installed in /usr/local/bin

Next add the following to /etc/rc.local (this is my setup for two)

 /usr/local/bin/squeezeslave -m 00:00:00:00:00:01 -o 0 -s -r &
 /usr/local/bin/squeezeslave -m 00:00:00:00:00:02 -o 1 -s -r &
  • the MAC address can be whatever you want
  • the -o option specifies which OSS output device ie /dev/dsp1
  • the -s option tells squeezeslave to wait for a signal to quit rather than control-C
  • the -r option tells squeezeslave to keep retrying to connect to the server, useful if the server is not running yet.

Next make sure all the volume levels in the mixer (alsamixer) are set correctly

Next step, manually add the squeezeslave to linuxmce as a squeezebox using the mac address you gave it. Assign it to a room and entertainment area. Regen your orbiters and reset the dcerouter.

That should do it.