Execute plugin help
Posted: Mon Jun 13, 2011 4:40 pm
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:
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?
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)"
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?