What's your thoughts on adding a 'contrib' section to the cvs?
I feel i need some place to store the python scripts the plugin_python
is invoking (the same thing with the plugin_exec)
Anyhow, i just cleaned up an old piece of code i use to poll the
eMule client i got running in my DMZ.
It is now being run by the plugin_exec, but someday i will invoke it
from plugin_python.
Since the plugin_python won't accept any arguments you will have to
modify the emule.py script to set the correct password, host and port.
The script communicates with the web interface of eMule with http
compression disabled.
Config sample:
Widget EMULE {
class 'Text'
expression exec('emule.py', 60000)
prefix 'eMule '
width 22
align 'M'
update tick
}
/Dan
P.S. There seems to be some problem with process termination when using
plugin_exec. The thread just won't die from a Ctrl-C...
|