This is a guide to install the latest Squeezeboxserver from original source onto Western Digital's My Book Live (WDMBL). Mainly, this information is copied from other sources, the information about private share access is original research.
Why would you?
If you would like to connect a Logitech Squeezebox device, e.g. Squeezebox Radio, to your WD Live, to play your stored media files.
Getting in with SSH
Access http://mybooklive/UI/ssh and enable SSH access. After that, access the box with User: root, pass welc0me.
Change default TCP port of Twonky
Edit Twonky config file:
Change TCP port of Twonky to e.g. 8000:
If the port remains unchanged, it is probably set through the init script. Stop twonky and open it with
and change the line
and then start twonky again.
Install the Squeezebox Server
cd /DataVolume/shares/Public aptitude update ## check here for the latest version: http://downloads.slimdevices.com/ wget http://downloads.slimdevices.com/SqueezeboxServer_v7.6.1/squeezeboxserver_7.6.1_all.deb dpkg -i squeezeboxserver_7.6.1_all.deb
This adds a new user to the system, squeezeboxserver. This user is not able to access private shares.
Accessing private shares
If you use private shares on your WD Live which should be streamed by the squeezebox service, it is not sufficient to rely on standard UNIX file permissions. Instead, WD Live uses a peculiar security system called Trustees.
What you need to do is add the new user to the trustees configuration and reload the trustee cache in kernel memory.
In /etc/trustees.conf, edit the line with your share to include the trustee object info "squeezeboxserver:RBE" (I had two users, player and writer before)
This allows the squeezeboxserver user to access the files read-only.
Afterwards, reload the configuration and restart the service
/usr/local/bin/settrustees /etc/init.d/squeezeboxserver stop /etc/init.d/squeezeboxserver start
Access the web interface of squeezeboxserver on http://mybooklive:9000/ and scan your music collection.
Accessing the collection from Squeezebox Radio
To finally play your music files, select own music and your collection name in Settings. Note, this changes a lot on the device, menus look different etc as now everything goes through your WD Live instead of the mysqueezbox.com service. To change back, select Settings, Network, mysqueezbox.