Http plugin!

FairDJ is a music jukebox designed for a room with a couple of people in it and one set of speakers. The users rate songs, and the program selects songs so that everybody gets to hear music they like.

Moderators: Marcus, walles

Post Reply
User avatar
Marcus
Site Admin
Posts: 1862
Joined: 2005.04.04 10:52
Location: Küssnacht am Rigi
Contact:

Http plugin!

Post by Marcus »

Now you can surf to your Fair DJ! Try out the new http plugin! :)

http://hirt.se/twiki/pub/Main/ScratchPa ... _0.1.0.jar

To see how it was done, see the source: http://hirt.se:8091/@md=d&cd=//depot/fa ... ttp/?ac=83

Here is an example on how to configure the startup script to autostart the plugin:

Code: Select all

       <pluginmanager class="net.sf.fairdj.PluginManagerImpl">
           <url>file:/C:\clients\opensource\fairdj\plugins\bin</url>
           <http startonload="true">
               <port>80</port>
               <timeout>2000</timeout>
               <toplength>10</toplength>
               <tcpdelay>false</tcpdelay>
           </http>
       </pluginmanager>
 
Note that the plugin directory and/or jar must be on the classpath for FairDJ.
Post Reply