by devr » Fri Sep 16, 2011 1:20 am
Per the
Subsonic web site, 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, for instance to one player in your kitchen and another in your living room.
This guide goes over how to install subsonic and its dependencies
JavaFirst Java needs to be installed, and you have a choice to make; Open Java or Oracle Java. Initially I tried with Open java:
$this->bbcode_second_pass_quote('', 'p')acman -S openjdk6
The results that I observed was that subsonic was very, very, very slow. So then I went to
Oracle's embedded java web site and downloaded their embedded java binary to try. You will need to know what basic type of ARM processor you have to be able to download the right version. Also, you have to submit your information (at a minimum email address) to download anything. Your choice, which Java you want to use. For me the Oracle embedded Java binary did perform faster, your mileage may vary.
SubsonicThe
Subsonic installation documentation page pretty much provides you all you need to know to install. Presently my Java app needs are pretty simple, so I chose the "Stand-alone installation" route. Basically; download, uncompress, configure, and start it. To start subsonic, use the subsonic.sh script, and this script is alos where you can set some of the configuration parameters.
For those of you that use Oracle's embedded Java and don't have java bin directory defined in your path, edit the subsonic.sh script and add something like the following somewhere close to the top:
$this->bbcode_second_pass_quote('', 'e')xport JAVA_HOME=/opt/ejre1.6.0_25/
if you want subsonic to re-encode your music/videos on the fly you will need to install lame & ffmpeg (or a similar program). My experience has been that my ARM processors can not handle real-time encoding, when attempting such the music will play then pause over and over. But here is the info anyways, in my example I uncompressed subsonic to /opt/subsonic: