Adrian Miller wrote:
Hi
I am using the on_start command to send an e-mail when a file is uploaded to 
the watch directory, and the on_finished to send an e-mail when the file has 
finished.

The basics of it is working quite well, however if I was to stop a torrent and 
restart it it would then send out another start e-mail.

Also when a torrent has finished it send out its finished e-mail and another 
started email, it would guess that the torrent is restarted for seeding hence 
the additional start e-mail.

is there another command that only looks at the .torrent file the first time it 
is picked up in the watch directory?

What you are looking for is on_insert.

Jari Sundell
_______________________________________________
Libtorrent-devel mailing list
[email protected]
http://rakshasa.no/mailman/listinfo/libtorrent-devel

Reply via email to