Can I run a perl script directly from deluge on complete?
Can I run a perl script directly from deluge on complete?
I've tried inputting the file location into execute plugin, but it doesn't work. I know the script works because I can run it manually.
Re: Can I run a perl script directly from deluge on complete
Make sure your script has the hashbang line, is executable and _only_ put the script path in execute plugin.
Re: Can I run a perl script directly from deluge on complete
Thanks for the reply. I noticed that python was supported in the documentation, so I just wrote a python script calling the perl script. It works ok now.Cas wrote:Make sure your script has the hashbang line, is executable and _only_ put the script path in execute plugin.
Re: Can I run a perl script directly from deluge on complete
That's just silly. The execute plugin has no notion of the type of script, if a script can be run standalone (i.e. without prefixing with explicit command: ./myscript.pl) then it can be run by execute.
Re: Can I run a perl script directly from deluge on complete
Silly works. I was able to execute the script directly from Transmission, but not from Deluge.
Re: Can I run a perl script directly from deluge on complete
I created a working sample script: http://dev.deluge-torrent.org/wiki/Plugins/Execute#Perl