Subsonic on Synology NAS

So I installed Subsonic on my synology NAS.

I installed the standalone version, because all the rest (docker, spk, …)was giving some kind of problem (no transcoding, file permissions, …)

Instructions:

ssh to NAS with root

First of all, install ipkg (follow: http://www.vspecialist.co.uk/2014/09/how-to-install-ipkg-on-a-synology-nas/)

after ipkg is installed, do:


$ipkg update
$ipkg install ffmpeg
$ipkg install bash

Now for the Subsonic part:


$mkdir /var/subsonic/standalone
$wget http://subsonic.org/download/subsonic-6.0-standalone.tar.gz
$ tar xvzf subsonic-6.0-standalone.tar.gz
$ cd /var/subsonic/transcode

In the transcode folder create a symbolic link to ffmpeg


$ln -s /usr/syno/bin/ffmpeg ffmpeg

Edit the subsonic.sh file as needed
go to bash (you installed via ipkg):


$/opt/bin/bash

Start subsonic:


$ cd /var/subsonic/standalone/
$ nohup ./subsonic.sh &

  •  the reason to install bash via ipkg is that the synology “bash” doesn’t support nohup, so Subsonic stops after you logout of your ssh session.

Done!

As an alternative, you can also install Tomcat (via the repositories) and deploy the war (mind you, you need to manually create the folder /var/subsonic  and /var/subsonic/trancode with the symbolic link to ffmpeg)