#1289: Execute plugin broken
--------------------+-------------------------------------------------------
Reporter: konti | Owner:
Type: defect | Status: new
Priority: major | Milestone: 1.3.0
Component: plugin | Version: 1.3.0_dev
Keywords: |
--------------------+-------------------------------------------------------
Configuring the execute plugin doesn't work. Tested with .sh and .py
scripts. Scripts don't get executed.
execute.conf:
{{{
{
"file": 1,
"format": 1
}{
"commands": [
[
"5cc6d491c5f8a21ee676feac31852355fa96dedc",
"Torrent Complete",
"/var/lib/deluge/scripts/notify_xbmc_complete.sh"
],
[
"dc9db2645da61fbb4c5a68723d22bf7b70186934",
"Torrent Added",
"/var/lib/deluge/scripts/test.py"
]
]
}
}}}
test.py
{{{
#!/usr/bin/python
import sys
import os
import syslog
#syslog.syslog('syslog junkie: the script has just got woken up')
# some code
for arg in sys.argv[1:]:
syslog.syslog(arg)
}}}
Also mentioned in topic: [http://forum.deluge-
torrent.org/viewtopic.php?f=9&t=31445]
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1289>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.