Re: Pass torrent label as an argument in a script?
Posted: Tue Feb 28, 2012 9:27 pm
For no clear reason, the execute plugin will not trigger the script when the torrent is completed.
I am trying with the most simple script I came with:
This one will execute OK in terminal
This is the entry in the toorent complete field:
and
I am using thin client setup.
Any ideas how to troubleshoot - running deluge from terminal fires no errors
I am trying with the most simple script I came with:
Code: Select all
#!/bin/bash
#torrentid=blah
# LABEL=$(/home/deckoff/Desktop/getLabel.py $torrentid)
echo "blah" >> ~/Desktop/test
# echo $LABEL >> /home/deckoff/Desktop/test
This is the entry in the toorent complete field:
Code: Select all
~/Desktop/TEST.sh
Code: Select all
/home/deckoff/Desktop/TEST.sh
Any ideas how to troubleshoot - running deluge from terminal fires no errors