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

Suggest, post, or discuss plugins for Deluge
iBroken
New User
New User
Posts: 8
Joined: Wed Feb 16, 2011 11:57 pm

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

Post 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 :)
CSB
Leecher
Leecher
Posts: 66
Joined: Fri Dec 03, 2010 1:55 am

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

Post by CSB »

This can easily be done using the execute plugin.
iBroken
New User
New User
Posts: 8
Joined: Wed Feb 16, 2011 11:57 pm

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

Post by iBroken »

ok that will be great, but tell me what to write in the command line ?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

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

Post by Cas »

iBroken
New User
New User
Posts: 8
Joined: Wed Feb 16, 2011 11:57 pm

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

Post by iBroken »


great, but the " torrent_added.sh " where do i have to place it ?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

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

Post 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
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

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

Post by Cas »

This is what you should have in the execute plugin box:
Selection_009.png
Selection_009.png (13.01 KiB) Viewed 8210 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.
iBroken
New User
New User
Posts: 8
Joined: Wed Feb 16, 2011 11:57 pm

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

Post 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:
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

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

Post by Cas »

What version of Deluge are you using? The latest version is 1.3.1
iBroken
New User
New User
Posts: 8
Joined: Wed Feb 16, 2011 11:57 pm

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

Post 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
Post Reply