Squeezebox Server

From Amahi Wiki
Revision as of 06:26, 13 November 2013 by Matt Clark (talk | contribs)
Jump to: navigation, search

App Fix for Squeezebox Server Upgrade

Logitech Media Server (formerly Squeezebox Server) may not work correctly. If it shows the error message:

Text
​The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.​

The following steps resolve the issue:

Open terminal on the HDA enter the following commands and accept all defaults (DO NOT copy and paste):

bash code
​cpan​


NOTE: At the cpan prompt type force install CGI::Cookie and followed by quit when finished.

Start squeezeboxserver:

bash code
​service squeezeboxserver start​


NOTE: If you still receive the message above, a restart of the HDA may be required.


Playing AAC files on 64-bit installs

Squeezebox server plays AAC files natively, but uses a 32-bit library. On 64-bit machines you may get an error message on your squeezebox saying

Text
​Problem: Can't open file for: [song title]​

A simple fix for this problem is to install the 32-bit glib package. Open terminal on your HDA and enter the following:

bash code
​yum install glib.i686​

Your AAC files should play on successful installation.

(source: [forum post])

Workaround for unblock-us DNS problems with mysqueezebox.com

The unblock-us.com domain name servers do not resolve mysqueezebox.com subdomains properly (eg content.mysqueezebox.com, update.mysqueezebox.com). This breaks the MySB network connection for squeezeboxes connected to the server and means they can't play pandora or other apps.

Workaround: Amahi 7 uses dnsmasq for the domain name service, which has an option to use an alternative DNS for particular domains (see "using special servers" from the documentation here). We can specify that the Amahi DNS uses the Google or OpenDNS servers instead of unblock-us.com for MySB requests.

step 1. choose DNS server - I used GoogleDNS (8.8.8.8) but this should work with OpenDNS as well 208.67.222.222

(optional step 1a. You may wish to make a copy of the dnsmasq.conf file before editing. Type in terminal:

bash code
​sudo cp /etc/dnsmasq.conf /etc/dnsmasq.conf.old​

}

step 2. add a custom setting to your dnsmasq.conf file using terminal:

bash code
​sudo vi /etc/dnsmasq.conf​


Page down to the very end of the file, then press "i" to insert new text:

server=/mysqueezebox.com/8.8.8.8

Press w to write to the file, q to save it and you're done! I restarted the DNS server using the Amahi control panel as well. You can test by directing your browser to update.mysqueezebox.com - it should show a directory.