Search found 5 matches

by TPG
Thu Jun 04, 2015 8:47 am
Forum: Plugins
Topic: Post your execute plugin scripts!
Replies: 47
Views: 344259

Re: Post your execute plugin scripts!

To those who also have xbmc/kodi running, this little script will show a notification when media is added and when media is completed. Media added: #!/bin/bash torrentid=$1 torrentname=$2 torrentpath=$3 ssh osmc@osmc_ip_address 'xbmc-send -a "Notification(Deluge: Media added,' $torrentname , 50...
by TPG
Sun May 24, 2015 1:42 am
Forum: Plugins
Topic: Post your execute plugin scripts!
Replies: 47
Views: 344259

Re: Post your execute plugin scripts!

This is basically a very simple bash script to dump info upon completion in an html file instead of a log file. The html can then be viewed from anywhere over my LAN Here is my code: #!/bin/bash torrentid=$1 torrentname=$2 torrentpath=$3 OUTPUT="/path/to/nas/share/deluge_scripts/info.html"...
by TPG
Fri May 22, 2015 2:11 pm
Forum: Plugins
Topic: Execute plugin won't run
Replies: 4
Views: 25033

Re: Execute plugin won't run

It works!
For anyone who's facing or might face the same problem, here is the solution:
I moved the whole thing to the Raspberry Pi. Saved the script there and pointed it to log there as well.

Have a nice Linux{ing} everyone
by TPG
Fri May 22, 2015 1:01 pm
Forum: Plugins
Topic: Execute plugin won't run
Replies: 4
Views: 25033

Re: Execute plugin won't run

Shryp wrote:maybe it is logging on the pi.
As you can see from the bash, the log file should be under home/'user_name' on the local machine.
by TPG
Fri May 22, 2015 10:54 am
Forum: Plugins
Topic: Execute plugin won't run
Replies: 4
Views: 25033

Execute plugin won't run

Hello everyone, I have set up deluge daemon to run on a Raspberry Pi 2 and a ThinClient running from my Linux laptop. Everything is working great. Now I'm trying to execute simple bash script upon completion to dump torrent info in a log file. My script is: #!/bin/bash torrentid=$1 torrentname=$2 to...