Edit: There seems to be an issue with Java 1.4.2 from Innotek. At the moment Subsonic works with Golden Code Java 1.4.1 only! I've not yet rechecked if Tomcat would help to get around the issue Innotek Java.
Edit2: The second modified Subsonic drop (15th. Feb. 2008) includes the work-in-progress Extended Search I'm working on. This should allow you later when it's finished to search other subsonics friends have running when you are logged in to your own subsonic. Includes sophiticated user management so not everyone is allowed to search other subsonics.
Details described in this thread at the subsonic forum (includes screenshots):
http://www.activeobjects.no/subsonic/forum/viewtopic.php?t=950
Beside that this version also fixes the not working transcoding (conversion e.g. OGG to MP3) and recoding (lowering bitrate to save bandwidth).
There is a Streaming server based on Java available called Subsonic.
This application allows you to store all of your MP3, OGG,... files and allows you and other people (login has to be created) to access your music files.
The selection of albums you want to listen to is done in your webbrowser. Then the server sends an MP3 Stream (Shoutcast == MP3) to your music player (eg. z! or PM123 on OS/2, WinAmp on Windows,...).
You can find more details at the subsonic website: http://subsonic.sf.net/
Normally the computer (server) running Subsonic requires to have Java >=1.5 but I did again a hack so most of the important functions are working on OS/2 and eComStation witheither Innotek Java 1.4.2 or Golden Code Java 1.4.1 only.
I'll fix some of the issues as good as possible with the upcoming test versions but for now you might want to try the current version.
Here are the issues I found so far:
Beside the basic "subsonic.war" file you need a webserver which can be either Jetty (current version 6.1.7) or Tomcat 5.x! I suggest you try Jetty as it's very easy to install and use.
After you downloaded Jetty you can extract it everywhere you like. The subfolder "Jetty-<VERSION>" will be created automatically.
Get the ZIP of Jetty 6.1.7 here:
http://dist.codehaus.org/jetty/jetty-6.1.7/
My special "subsonic.war" for Java 1.4.x can be downloaded here:
http://www.informatik.uni-oldenburg.de/~julbts/ports/subsonic_v330_2008-01-30.zip
http://www.informatik.uni-oldenburg.de/~julbts/ports/subsonic_v33x_2008-02-15.zip
Later the current version can be found on my website (http://www.juergen-ulbts.de/ - at section: "Projects" --> "Ports")
You need to extract or copy the "subsonic.war" file into the subdirectory "webapps" of Jetty.
Then remove the "cometd.war" from the "webapps" subdirectory. This is causing some problems as it's not compiled for Java 1.4.
By default Jetty uses Port 8080. The port can be changed at the Jetty.xml (see documentation) configuration file.
Here is the start script (startJettyOS2.cmd) I use to start Jetty (with Golden Code Java 1.4.1 installed at c:\java141):
The mode line is optional but will show some more lines what Jetty and Subsonic are currently doing.
I you want to use Innotek Java 1.4.2 it might be enough to remove the path completely (if set as default Java environment - eCS 1.2+ default setting) otherwise you need to specify the location of the Innotek Java version (normally "C:\Programs\Java142\bin").
That's all you have to do. Then you can open your webbrowser. If you have started Jetty on the same machine you are now starting your browser enter the URL "http://localhost:8080/subsonic", or if it's another machine on you network you have to enter the IP address instead of the word "localhost". The port has to added except if you set it to port 80 instead of 8080.
If you just use "http://localhost:8080/" you will see the Error 404 together with a list of possible links to web-applications. One of them should be called "subsonic" if you then click on this one you get to subsonic as well.
You should see the Jetty login dialog. At the first time you can use "admin"/"admin" as login but then you should change the password of the admin user. While you are logged in you might also add other users.
Then of course it's time to setup the location of your mp3 files, the default upload path (location of the "incoming" directory if someone uploads files to your server),...
Finally you are ready to stream the music files that are stored on your system. You can select the files/albums with a click at the webinterface and then your music player should be started to play the stream send by subsonic. You might need to add the music player as "Helper application" so it will be started automatically.
Subsonic can also reduce the bitrate of the MP3 files and covert from one filetype to another (eg. OGG-->MP3) but needs external apps for this. So far I've not tried this, but LAME is one of the required 3rd party tools needed.
Ok, now I'm looking forward to hear some success stories. ;)
Edit2: The second modified Subsonic drop (15th. Feb. 2008) includes the work-in-progress Extended Search I'm working on. This should allow you later when it's finished to search other subsonics friends have running when you are logged in to your own subsonic. Includes sophiticated user management so not everyone is allowed to search other subsonics.
Details described in this thread at the subsonic forum (includes screenshots):
http://www.activeobjects.no/subsonic/forum/viewtopic.php?t=950
Beside that this version also fixes the not working transcoding (conversion e.g. OGG to MP3) and recoding (lowering bitrate to save bandwidth).
There is a Streaming server based on Java available called Subsonic.
This application allows you to store all of your MP3, OGG,... files and allows you and other people (login has to be created) to access your music files.
The selection of albums you want to listen to is done in your webbrowser. Then the server sends an MP3 Stream (Shoutcast == MP3) to your music player (eg. z! or PM123 on OS/2, WinAmp on Windows,...).
You can find more details at the subsonic website: http://subsonic.sf.net/
Normally the computer (server) running Subsonic requires to have Java >=1.5 but I did again a hack so most of the important functions are working on OS/2 and eComStation with
I'll fix some of the issues as good as possible with the upcoming test versions but for now you might want to try the current version.
Here are the issues I found so far:
- I had a problem to get the podcast from another website (don't know if the problem is only related to the page I tried or a general problem). The error was about the regex library (I think this is not included in Java 1.4.1 I tried...might work with Innotek Java 1.4.2 once the general problem with it is solved)
Search didn't show any results...EDIT: Had to start the indexing process manually as I didn't run it long enough so the automatic reindexing could start at 3:00 AM (see "Settings" --> "Search" at webinterface).
The status on the left with the amount of artists, albums,... will also be updated once the indexing seems to be complete (may require an additional restart of jetty).
Beside the basic "subsonic.war" file you need a webserver which can be either Jetty (current version 6.1.7) or Tomcat 5.x! I suggest you try Jetty as it's very easy to install and use.
After you downloaded Jetty you can extract it everywhere you like. The subfolder "Jetty-<VERSION>" will be created automatically.
Get the ZIP of Jetty 6.1.7 here:
http://dist.codehaus.org/jetty/jetty-6.1.7/
My special "subsonic.war" for Java 1.4.x can be downloaded here:
http://www.informatik.uni-oldenburg.de/~julbts/ports/subsonic_v33x_2008-02-15.zip
Later the current version can be found on my website (http://www.juergen-ulbts.de/ - at section: "Projects" --> "Ports")
You need to extract or copy the "subsonic.war" file into the subdirectory "webapps" of Jetty.
Then remove the "cometd.war" from the "webapps" subdirectory. This is causing some problems as it's not compiled for Java 1.4.
By default Jetty uses Port 8080. The port can be changed at the Jetty.xml (see documentation) configuration file.
Here is the start script (startJettyOS2.cmd) I use to start Jetty (with Golden Code Java 1.4.1 installed at c:\java141):
Code Select
mode 102,80
c:\java141\bin\java -jar start.jar
The mode line is optional but will show some more lines what Jetty and Subsonic are currently doing.
That's all you have to do. Then you can open your webbrowser. If you have started Jetty on the same machine you are now starting your browser enter the URL "http://localhost:8080/subsonic", or if it's another machine on you network you have to enter the IP address instead of the word "localhost". The port has to added except if you set it to port 80 instead of 8080.
If you just use "http://localhost:8080/" you will see the Error 404 together with a list of possible links to web-applications. One of them should be called "subsonic" if you then click on this one you get to subsonic as well.
You should see the Jetty login dialog. At the first time you can use "admin"/"admin" as login but then you should change the password of the admin user. While you are logged in you might also add other users.
Then of course it's time to setup the location of your mp3 files, the default upload path (location of the "incoming" directory if someone uploads files to your server),...
Finally you are ready to stream the music files that are stored on your system. You can select the files/albums with a click at the webinterface and then your music player should be started to play the stream send by subsonic. You might need to add the music player as "Helper application" so it will be started automatically.
Subsonic can also reduce the bitrate of the MP3 files and covert from one filetype to another (eg. OGG-->MP3) but needs external apps for this. So far I've not tried this, but LAME is one of the required 3rd party tools needed.
Ok, now I'm looking forward to hear some success stories. ;)