I've created a basic web-service for azureus by installing the Azureus HTML WebUI ( http://azureus.sourceforge.net/plugin_d ... zhtmlwebui ) and creating a custom template for it that spits out some basic xml.
I had to create the directory and put the template file in C:\Documents and Settings\Phil\Application Data\Azureus\htmlwebui\details.tmpl
The template looks like this
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<azureus>
<upspd><tmpl_var total_upload></upspd>
<uplmt><tmpl_var max_ul_speed></uplmt>
<dwnspd><tmpl_var total_download></dwnspd>
<dwnlmt><tmpl_var max_dl_speed></dwnlmt>
<ttldwn><tmpl_var total_downloaded></ttldwn>
<ttlsize><tmpl_var total_size></ttlsize>
</azureus>
Upload speed
Upload speed limit
Download speed
Download speed limit
Amount Downloaded of queued torrents
The allocated size of queued torrents
There are more tags, but for now you'll need to extract the index.tmpl file from the plugin.jar and find them yourself as they remain undocumented.
My WEBSVC.ini file contains
Code: Select all
[Service 01]
URI=http://127.0.0.1:6886/details.tmpl
Operation=
MinsInCache=5
Code: Select all
1# Azureus
2#
3# $dll(WEBSVC,1,,/azureus/ttldwn) / $dll(WEBSVC,1,,/azureus/ttlsize)
4# D:$dll(WEBSVC,1,,/azureus/dwnspd) U:$dll(WEBSVC,1,,/azureus/upspd)