Page 1 of 1

Execute plugin help

Posted: Mon Jun 13, 2011 4:40 pm
by nickeh
Hi, I'm trying to create a set of scripts to notify XBMC when torrents are added or finished.

This is what I've got:

Code: Select all

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

title="Deluge: Torrent added" 
message="$torrentname"

xbmc-send -a "Notification($title, $message)"
Script seems to work, if i execute it from the command line it works great. But i can't get anything to work from the plugin.

This is what i have in the settings for the plugin

Torrent added: "/usr/local/bin/torrentstart.sh"

But It wont start the script when i add torrents, script is executable for all users

Any ideas?

Re: Execute plugin help

Posted: Mon Jun 13, 2011 5:09 pm
by Cas
did you restart deluge?

Re: Execute plugin help

Posted: Tue Jun 14, 2011 12:20 pm
by nickeh
That did the trick! Many thanks!