The script attached prints out the status of players connected to SqueezeNetwork. It can complement status info obtained through SC for local players. This is my shot at the elusive 'NetcontrolPerlExamples' (http://wiki.slimdevices.com/index.php/Netcontrol) Netcontrol script.
I will be soon integrating to my system something around those lines. I have mildly tested the standalone script attached; while it is not totally flaky, I do not warrant complete robustness to net flukes nor, much more importantly, innocuousness on the SN servers. The script does little more than clicking on a browser button every so seconds, so it should be okay as long as you're using a reasonable timeout. However, I strongly engage those willing to run or adapt this script to fill-in the "From" field in the LWP::UA constructor with their email address. In case the UA is misbehaving on SN, SN admins will find the address in the log and can get in touch. From there we'll be able to correct the script as needed. (Gharris999: cook your own user-agent string as well if you integrate an LWP::UA to your plugin in the future.) You'll also need to edit the script to add your SN account info before running it. +-------------------------------------------------------------------+ |Filename: TRACE_snstatus_pl.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=6284| +-------------------------------------------------------------------+ -- epoch1970 ------------------------------------------------------------------------ epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
