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 using packer.
packer -S 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 the startup script.
sudo nano /var/lib/subsonic/subsonic.sh
To enable HTTPS change
8443 or another port value.
Install codecs and transcoders.
sudo pacman -S ffmpeg flac lame
Change current directory to the transcoding directory.
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.
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 and the current IP address. For example 192.168.0.100:4040. Login with
admin username and password and change the username and password from the web interface.