linux poison RSS
linux poison Email

Web-based personal media streaming system - Subsonic

Subsonic is a free, web-based media streamer, providing ubiquitous access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously.

Subsonic is designed to handle very large music collections (hundreds of gigabytes). Although optimized for MP3 streaming, it works for any audio or video format that can stream over HTTP, for instance AAC and OGG. By using transcoder plug-ins, Subsonic supports on-the-fly conversion and streaming of virtually any audio format, including WMA, FLAC, APE, Musepack, WavPack and Shorten.

If you have constrained bandwidth, you may set an upper limit for the bitrate of the music streams. Subsonic will then automatically resample the music to a suitable bitrate.

In addition to being a streaming media server, Subsonic works very well as a local jukebox. The intuitive web interface, as well as search and index facilities, are optimized for efficient browsing through large media libraries. Subsonic also comes with an integrated Podcast receiver, with many of the same features as you find in iTunes.
Based on Java technology, Subsonic runs on most platforms, including Windows, Mac, Linux and Unix variants.

Subsonic is open-source software licensed under GPL.

Subsonic Installation:
This installation option applies to Debian Linux, including Ubuntu.
First, install Java:
sudo apt-get install openjdk-6-jre
Download the Subsonic .deb package (here) and install it:
sudo dpkg -i subsonic-x.x.deb
Notice that the installer configures your system to start Subsonic automatically when booting. After installing, open the Subsonic web page on http://localhost:4040.

Subsonic Configuration:
Setting up music folders
You must tell Subsonic where you keep your music. Select Settings > Music folders to add one or more folders.

Note that if you add more than one music folder, a list will appear on the left side of the screen where you can select the active folder.

Setting up remote access
With Subsonic you can access your music anywhere on the internet or from your iPhone or Android phone. However, in order to do that certain conditions must be met:

Your router must have a public IP address and must be accessible from the internet. This is true for most home internet connections.

Your router must support the UPnP or NAT-PMP protocol so that Subsonic can setup the appropriate port forwarding. If your router doesn't support this you will have to configure the port forwarding manually.

Change user
By default the Subsonic process is run as the root user. To improve security it is strongly advised that you run it as a dedicated user with less powerful privileges. You can specify this user by setting the SUBSONIC_USER variable in /etc/default/subsonic.

Note that non-root users are by default not allowed to use ports below 1024. Also make sure to grant the user write permissions in the music directories, otherwise changing album art and tags will fail.

Advanced configuration
To change the port number, Java memory settings or other startup parameters, edit the SUBSONIC_ARGS variable in /etc/default/subsonic.
To restart Subsonic, do
sudo service subsonic restart
Check the logs in /var/subsonic.


Anonymous said...

Read this tutorial for installing and configuring subsonic in Ubuntu/Linux min with scren shots.

Post a Comment

Related Posts with Thumbnails