Page 1 of 1

rtorrent + prowl

Posted: Mon Nov 28, 2011 8:25 pm
by charlie00

I´m trying to get my linux box to send me a notification when a download is completed.

In .rtorrent.rc I have the following line

Code: Select all

system.method.set_key =,notify_me,"execute=~/,$d.get_name="
And I have a script with the following lines.

Code: Select all


SUBJECT="Download completed"

curl -d "apikey=$API_KEY&application=rTorrent&event=$SUBJECT&description=$MESSAGE"
Anyone got any idea what´s wrong with the code?

Re: rtorrent + prowl

Posted: Mon Nov 28, 2011 8:49 pm
by zac
Are you getting an error? The following curl command works for me:

Code: Select all

curl -F apikey=myAPIKey -F application=test -F event=test2 -F description=test3

Re: rtorrent + prowl

Posted: Mon Nov 28, 2011 9:03 pm
by charlie00
That curl line works for me aswell, but I can't get any notification from rtorrent with my script for some reason..any idea?

Edit: Nevermind, It was a typo *of course* . The code works :-)

Re: rtorrent + prowl

Posted: Sun Sep 02, 2012 5:12 pm
by dkjf
where is the "typo", i am trying the same, but I can't find the mistake in your code :(