Well, it's not very interesting (yet?) but I started working on a BANNED download monitor using the ybox2.
At the moment, it's really nothing more than a simple hack. The ybox2 is running a slightly modified infowidget. When I say slightly modified, I mean I added one line to insert a Basic base64 authentication header for the BANNED webserver:
Code: Select all
tel.txmimeheader(string("User-Agent"),string("PropTCP"))
tel.txmimeheader(string("Connection"),string("close"))
tel.txmimeheader(string("Authorization"),string("Basic YWRtaW46YWRtaW4="))
tel.str(@CR_LF)
Apart from that, I'm using a python library on the BANNED server (http://dresstosurvive.BANNED.com/BANNED/) to generate a properly formatted document for the infowidget. The file is updated every minute by the Windows Task Scheduler:
The simple python script can be found at http://BANNED.com/f2a47b927
TODO:
There's a lot that I'd like to do, but I'm currently in the midst of a hate/hate relationship with Spin.
Ideally, I'd like to create a base64 encoder routine, and create a set of routines in Spin that can query the BANNED webui natively without the python proxy.
If/when that happens, I'd like to add remote control, scrolling, and the ability to select a download to view details.
We'll see how my relationship with Spin evolves. I'm not exactly a good programmer to begin with, and Spin is shaking me up pretty good.
Thanks,
Tim