Trigger function after compleated download

2 views
Skip to first unread message

jav

unread,
Oct 29, 2008, 4:11:15 AM10/29/08
to rssdler
Hi, could someone please help me by pointing out about where in the
source a .torrent download is considered completed?

I would like to add some trigger function (delegate/functionpointer/
event/whatever) so I can perform some logic on the downloaded
torrents.

lostnihilist

unread,
Oct 29, 2008, 1:24:30 PM10/29/08
to rss...@googlegroups.com

did you notice the postDownloadFunction option? It is triggered pretty soon
after the download (of the actual .torrent file, or whatever else you are
directly downloading, it is up to your torrent client or other software after
that) is completed and is passed all the useful information I could think of.
Is there some reason that is not adequate? Your download functions are given
access to rssdler's main namespace, so i'm not too sure what more you may
want.

lostnihilist

jav

unread,
Nov 7, 2008, 1:20:41 PM11/7/08
to rssdler

> did you notice the postDownloadFunction option?

nope, I hadn't noticed it.
Sounds to me as if it's exactly what I'm looking for.
I'll look at it now, thanks!

jav

unread,
Nov 7, 2008, 3:16:26 PM11/7/08
to rssdler
Turns out it was exactly what I needed.
Where can I find more info about the *feed() functions found in
userFunctions.py ?
I'm hesitant to what their use is and how to use them.

Thanks // Jav
Reply all
Reply to author
Forward
0 new messages