Execute plugin broken?

Suggest, post, or discuss plugins for Deluge
Post Reply
k-rog
Member
Member
Posts: 18
Joined: Sat Apr 17, 2010 2:51 pm

Execute plugin broken?

Post by k-rog »

I'm using deluge 1.3-rc1. And i tried to configure the execute plugin in the webui. After a reboot of deluged and deluge-web the execute.conf file was changed and it looks like this:

Code: Select all

{
  "file": 1,
  "format": 1
}{
  "commands": [
    [
      "5cc6d491c5f8a21ee676feac31852355fa96dedc",
      "Torrent Complete",
      "/var/lib/deluge/scripts/notify_xbmc_complete.sh"
    ],
    [
      "dc9db2645da61fbb4c5a68723d22bf7b70186934",
      "Torrent Added",
      "/var/lib/deluge/scripts/notify_xbmc_started.sh"
    ]
  ]
}
notify_xbmc_started.sh looks like this:

Code: Select all

#!/bin/bash
torrentid=$1
torrentname=$2
torrentpath=$3

subject="Started download new torrent!"
message="$torrentname to $torrentpath"
wget -q --delete-after "http://XBMC:@192.168.1.251:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn(Notification($subject,$message,18000))" > /dev/null 2>&1
echo -e "\n$torrentid : $torrentname : $torrentpath" >> /var/lib/deluge/scripts.log
It shoud write $1,$2 and $3 to /var/lib/deluge/scripts.log but that doesn't happen on torrent start or finish.
Running the scripot manualy does give output to scripts.log.
k-rog
Member
Member
Posts: 18
Joined: Sat Apr 17, 2010 2:51 pm

Re: Execute pluging broken?

Post by k-rog »

Not getting any response here, i'll post a ticket/bug report. Maybe i have more luck there.
k-rog
Member
Member
Posts: 18
Joined: Sat Apr 17, 2010 2:51 pm

Re: Execute plugin broken?

Post by k-rog »

Has been fixed in 1.3RC2!

More info in wiki: http://dev.deluge-torrent.org/wiki/Plugins/Execute
Post Reply