Install Subsonic on Arch Linux

subsonoc-arch-linux

Subsonic is a web based music streamer with transcoding capabilities. While a great concept, unfortunately it is purposely crippled by non-premium limitations that prevent the use of mobile apps as well as many other features. Madsonic is an alternative fork of Subsonic that may be a better option. It is a little different to install than for example Sonarr or CouchPotato as it is Java based as opposed to Mono or python based.

 

Install Subsonic

Install Packer if needed or use another package wrapper like Yaourt.

 

Install Subsonic using packer.

packer -S subsonic

 

Configure Subsonic

Optionally add the user to secondary groups.

sudo usermod -a -G nzbget,utserver,headphones subsonic

By default Subsonic is added to audio group which is needed enable the jukebox feature.

 

Open Subsonic start script.

sudo nano /var/subsonic/subsonic.sh

To enable HTTPS change SUBSONIC_HTTPS_PORT=0 to SUBSONIC_HTTPS_PORT=8443 otherwise it should remain set to 0.

 

Install codecs and transcoders.

sudo pacman -S ffmpeg flac lame

 

Change current directory to the transcode directory.

cd /var/lib/subsonic/transcode

 

Create symbolic links to codecs and transcoders.

sudo ln -s "$(which ffmpeg)"
sudo ln -s "$(which flac)"
sudo ln -s "$(which lame)"

For security reasons subsonic will not search for transcoders so symbolic links must be created. Message in red reading “Notice: Transcoders does not appear to be installed. Click Help button for more information.” will be displayed in the Settings->Users page if no symbolic links are created.

 

Run Subsonic

Start Subsonic service.

sudo systemctl start subsonic

 

Enable Subsonic service to run on boot.

sudo systemctl enable subsonic

 

Access Subsonic in your browser on the default port 4040 or 8443 for HTTPS and the current IP address. For example http://192.168.0.100:4040/. Change the password of the admin account using the web interface.

dom