Page 1 of 2

[Solved]is it possible to make Email Notification plugin?

Posted: Thu Feb 17, 2011 12:14 am
by iBroken
hi

there's some people ( including me ) using auto downloader scripts via IRC, or RSS, i would love to see plugin sends me Emails telling me a New torrent Added, and the size, Name, of that torrent

if i were able to make Plugins, this plugin will be my first :)

Re: [Request]is it passable to make Email Notification plugi

Posted: Thu Feb 17, 2011 2:53 am
by CSB
This can easily be done using the execute plugin.

Re: [Request]is it passable to make Email Notification plugi

Posted: Thu Feb 17, 2011 7:40 am
by iBroken
ok that will be great, but tell me what to write in the command line ?

Re: [Request]is it passable to make Email Notification plugi

Posted: Thu Feb 17, 2011 5:33 pm
by Cas

Re: [Request]is it passable to make Email Notification plugi

Posted: Fri Feb 18, 2011 9:03 pm
by iBroken

great, but the " torrent_added.sh " where do i have to place it ?

Re: [Request]is it passable to make Email Notification plugi

Posted: Sat Feb 19, 2011 3:35 pm
by Cas
in a folder that deluged can read (e.g. home dir). you put that path to the script in execute's command box

Re: [Request]is it passable to make Email Notification plugi

Posted: Sun Feb 20, 2011 7:49 pm
by Cas
This is what you should have in the execute plugin box:
Selection_009.png
Selection_009.png (13.01 KiB) Viewed 8208 times
Do you have sendmail installed and setup? Test you script with this command:

Code: Select all

bash /home/user/torrent_added.sh id torrent path
Finally make sure you script is executable with:

Code: Select all

chmod u+x /home/user/torrent_added.sh
You may also need to restart deluge.

Re: [Request]is it passable to make Email Notification plugi

Posted: Mon Feb 21, 2011 12:14 am
by iBroken
thank you Cas, but my Execute plugin isn't like what you have, mine had one command line like this one

Image

sorry :oops:

Re: [Request]is it passable to make Email Notification plugi

Posted: Mon Feb 21, 2011 3:25 pm
by Cas
What version of Deluge are you using? The latest version is 1.3.1

Re: [Request]is it passable to make Email Notification plugi

Posted: Mon Feb 21, 2011 4:16 pm
by iBroken
Cas wrote:What version of Deluge are you using? The latest version is 1.3.1
yes offcourse, i'm using 1.3.1